• Resolved eddr

    (@eddr)


    Hi

    I’m using W3TC capability to cache pages for logged in users
    My question is how can I programmatically purge the page cache for specific logged in user/s?

    This flexibility is crucial and I guess is somehow available

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @eddr

    Thank you for your inquiry and I am happy to assist you with this.
    As a general rule, it is not recommended to cache pages for logged in users. as you can see in the description unauthenticated users may view a cached version of the last authenticated user’s view of a given page. Disabling this option is not recommended.
    This being said there is no way to programmatically purge the cache for a specific user as the cache is built per user but per page visit and there is no way the plugin can tell for which user the page was cached.
    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Programmatically purge cache for specific logged in user’ is closed to new replies.