WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
W3TC fragment cache for wp/bp admin bar (4 posts)

  1. mouffles
    Member
    Posted 1 year ago #

    Hi there,

    I need caching for some pages even for buddypress logged users, but i'd like to keep the admin/buddypress bar not cached.

    I look at a way to disable caching for admin/buddyPress bar, i already looked at function.php, header.php with fragment cache but nothing worked.

    Any solutions would help,

    Thank you

    http://wordpress.org/extend/plugins/w3-total-cache/

    [ Please do not bump, that's not permitted here. ]

  2. mouffles
    Member
    Posted 1 year ago #

    Well that's not an easy thing to do, definitivly.

    1 / I tried to fragment the whole header, and css disappeared.
    2 / I tried to wp_head and bp_head functions in header.php, it crashed the site, (blank page).
    2 / I also tried to fragment comments part, it crashed too.

    Maybe fragment is not the goog way, i don't know :(

  3. mouffles
    Member
    Posted 1 year ago #

    3 / I tried to fragment sidebar, sidebar disapeared... So i spent hours on this, i searched in google, and wp support forums, but topics and fragment cache infos are weak and lonely, and that's a problem cause wp/bpress installations really need cache. It would be a nice idea to improve this, cause this is a major need for non statics websites.

    And then to add something to w3tc like "force to include pages to cache" even for logged in users, or by user roles (admin/followers), cause it's that kind of logic a cms/community wp needs.

    Then why don't go further and force to cache parts of a page (i mean post lists elements and else), because the opposite : "not caching with mfunc" is just strangely added to the plugin.

  4. Frederick Townes
    Member
    Plugin Author

    Posted 1 year ago #

    The fragment functions only works with non WP functions and with opcode/memcached cache engines. You'll need to experiment and check out WP Transients API to get it work as you want.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic