WordPress.org

Forums

W3 Total Cache
Pages are still being cached for logged in users (3 posts)

  1. eberswine
    Member
    Posted 1 year ago #

    Hi, great plugin! I love it! I am slowly tweaking and getting it to perform the best I can.

    I have a membership site that has "protected" content on it. My problem is, when a Logged Out User goes to a few pages that are protected , it states "Log in or Join to see premium content" -- which is my membership squeeze line.

    Anyways, if the user then logs in and then goes back to visit those same pages ( they visited while logged out ), then it still shows the cached page of "Log in .. " and the user has to do a hard refresh on the browser to get the premium content to show.

    I'm sure the page cache or browser cache is just too strong for the setting I need ?

    I have checked:
    Don't cache pages for logged in users

    But it doesn't seem to work until I HARD REFRESH.

    WOnder if it is a setting/bug or if there is a hook/action we could add to our functions page to FLUSH CACHE when a user logs in ?

    Thanks!

    https://wordpress.org/plugins/w3-total-cache/

  2. adamwalter
    Member
    Posted 1 year ago #

    I am also having this same issue. I have "Don't cache pages for following user roles" checked as well as all the relevant roles that shouldn't get cached content. However, W3TC is still caching.

    W3TC knows I'm logged in because this is in my page HTML source:

    Page Caching using disk: enhanced (User is logged in)
    Database Caching using disk (Request-wide User is logged in)
  3. murrayhills
    Member
    Posted 1 year ago #

    I am having exactly the same issue. Any solutions out there??

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.