• Resolved aliahmari

    (@aliahmari)


    Hello there

    I’m using lscache plugin for my website and I have more than 1000 users, how can I server public cache for all logged in and non-logged in users. The only page that needs not to be cached is dashboard page and I set it not to be cached.

    I’ve used public force cache by this command ^/ and it works but when users log in to the website, first time cache status is miss and then it changes to HIT. It shows that each logged in users has separate cache. As non of the pages except /dashboard page do not have any different content based user type, what can I do for solving this?

    It has a bad effect on site page score.

    This is what I’ve done so far:

    Disable cache for logged in users (since I do not want to use private cache for logged in users)

    Public force cache using this command ^/

    Not cache pages like /dashboard

    • This topic was modified 1 year ago by aliahmari. Reason: misspelling
    • This topic was modified 1 year ago by aliahmari. Reason: add additional information
Viewing 2 replies - 1 through 2 (of 2 total)
  • supervisior

    (@supervisior)

    Logged-in users must not have public cache, otherwise it is not possible to determine who the user is and whether he is logged in, so every logged-in user needs his own private cache. It’s a MUST!

    Plugin Support qtwrk

    (@qtwrk)

    you can try enable ESI, it should create a “public cache” among the login users

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Serving public cache for all logged in users’ is closed to new replies.