• Resolved Kristián Filo

    (@kristianfilo)


    I am trying to enable private cache for logged in users.

    Whenever I try to access any page as a logged in user, I am getting a X-Litespeed-Cache: miss and the page loads in real time (even though it was previously cached by the same user).

    However, if I access a page and then immediately (within 1-2 seconds) request the same URL again, the correct cached version of the page loads and I am getting X-Litespeed-Cache: hit:private . Private cache TTL is set to default value of 1800.

    My report number is: XQSCKLOA

    (I wouldn’t like to share the URL publicly as it is a temporary testing environment, but I believe it is included in the report)

    What could be causing this? Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    sometimes upon the login action , it will purge the private cache , that might be the cause

    you can enable purge log, see what it says

    Thread Starter Kristián Filo

    (@kristianfilo)

    Hi @qtwrk ,

    this was not the case, but thanks anyway. I’ve figured out what is causing the problem.

    I have WooCommerce geolocation enabled (MaxMind) and whenever I set default customer location to Geolocation, or Geolocation (with page caching support), it causes this error in Litespeed Cache.

    If I set it to “No location by default” or “Shop base address”, it works well. Is there a way to use private caching with Woo geolocation enabled?

    Thank you.

    Plugin Support qtwrk

    (@qtwrk)

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.