WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Non-cached page with admin bar showing after user logs out (3 posts)

  1. Lumpysimon
    Member
    Posted 3 years ago #

    Hi

    I'm using mod_rewrite caching, logged in users don't see super cached pages, preloading activated, CDN option not used.

    Everything is working fine and my site is a lot faster, apart from one thing: when a user logs out then goes to the homepage, the admin bar is still visible, and viewing the source confirms that it's not a cached page being served.

    The only way to remove this 'fake' admin bar and see a cached page is to do a hard refresh (CTRL-F5) - normal refresh doesn't work.

    The user is definitely not still logged in, as clicking any link on the admin bar brings up the login screen.

    Any ideas?

    Thanks
    Simon

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 years ago #

    That would be the 304 browser caching support unfortunately. The next release will disable this caching for logged in/known users.

    You should disable caching for known users to avoid this problem for now.

  3. Lumpysimon
    Member
    Posted 3 years ago #

    Hi Donncha

    Thanks for the answer, I guessed it was something like that.

    I do have "Don’t cache pages for known users" ticked already, it doesn't make any difference.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic