• Resolved ralak

    (@ralak)


    Hello,

    I am experiencing an issue across all my clients’ websites when LiteSpeed Cache is active. Specifically, Ajax requests related to functions like user login or adding products to the cart return a 403 Forbidden error. I have tried most solutions suggested in forums (e.g., enabling ESI), but they did not resolve the issue. Enabling ESI even caused a new problem where logged-in users occasionally see other users’ data.

    Could you please advise if there are specific LiteSpeed Cache settings I need to enable or disable to prevent 403 errors for Ajax requests involving actions like login or add-to-cart?

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Support qtwrk

    (@qtwrk)

    if ESI didn’t work out nicely for you , then only solution is to fallback to shorter TTL like other cache plugin does , please try set page TTL to somewhere like 6 – 8 hours

Viewing 1 replies (of 1 total)

The topic ‘ajax request 403 error’ is closed to new replies.