Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] How to not cache the WP bar ?

  • Resolved evo252



    I’d like to use the cache for both logged out and logged in users. Is there a way to cache all pages of the site except the admin bar on the top, so the site is delivered as cached but not the top wp bar ?

    I have another question. I’m working on Buddypress and I need to tell W3TC to not cache private messages. In the “Never cache the following pages:” options, how to tell W3TC to not cache these pages :
    In fact, usernames are different according who is logged in… And I don’t want to tell W3TC to not cache just /members/, I need this part to be cached.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frederick Townes


    Make sure don’t cache pages for logged in users is checked (the default setting).

    If you check “don’t cache pages for logged in users” then… logged in users do not enjoy cached paged.

    So it’s not possible to have both ? I mean: being a logged in users using wp top admin bar and browse cached pages ?

    Yes, that’s exactly what I need, a separate cache, one for logged out users, one for logged in users… It would improve specifically websites which have big online communities (especially for wordpress blog with thousand and thousand online members which have private content only viewable by logged in users or buddypress communities).

    Plugin Author Frederick Townes


    Your request is not as simple as you make it because there are elements (some significant others not) that are customized for each visitor, so that means each visitor gets it’s own cache, which is the opposite of what caching is supposed to realize. Anyway, fragment caching will give you a bit better performance and still allow parts of templates to be dynamic. It’s also worth noting that database and object caching reduce the execution time for generating pages which helps sites with lots of authenticated users, that’s (one of the reasons) why I added that.

    Thank you very much for these details I didn’t know Frederick !

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: W3 Total Cache] How to not cache the WP bar ?’ is closed to new replies.