WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Reset cache with new posts on per blog basis on multisite install? (3 posts)

  1. diesel12
    Member
    Posted 3 years ago #

    We have a multisite install that has garbage collection occur every 60 minutes. This means that if a user updates a page, it may be up to 60 minutes until it is updated when garbage collection occurs. Our goal is to have all changes appear live on the site immediately since there is some time sensitive info being published.

    If we enable "Clear all cache files when a post or page is published." then every time a site on the install modifies or updates an existing page or post, they are good to go, their new updated is available to visitors immediately.

    The issue is that when any post or page is updated the cache is not only cleared on the blog making updates, but every blog on the install. This can mean that each site is having it's cache reset on a regular basis as various sites on the install modify their content, making caching less useful as it is constantly being reset for every site anytime one site makes an update.

    We have tried installing in mu-plugin and plugin folder hoping the plugins folder might afford control on a per blog basis to no avail.

    Anyone know if it's possible to have wp super cache only reset the cache on the specific blog that has updated its content and not every blog on the install when the content is updated? Thanks!

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 years ago #

    When a user updates a page the page should be updated immediately. It's odd that doesn't happen. Can you try the debug system in the plugin, limit it to your IP and edit an already cached page. Do you see the plugin clearing the cache?

  3. diesel12
    Member
    Posted 3 years ago #

    Donncha,

    It looks like now that we did the reset to default settings above the initial issue has also been resolved. When a page or post is added or updated, then entire blog cache for only that blog is updated (or at least the home page as well, which is what we were checking), which is perfect. It sounds like perhaps only the cache for that page should be clearing but the whole blog cache clearing for that specific blog is fine as long as it isn't resetting every blog, which was the main issue. Thanks for your feedback and help. :)

    T

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic