• Resolved gs2656_columbia

    (@gs2656_columbia)


    I tried enabling preloading on some blogs in a multi-user setup, but I’m not getting consistent results.

    So I’ve done as follows:
    1) Turned off Garbage Collection (Cache Timeout == 0 seconds)
    2) Turned on Preload Mode (every 1440 minutes)
    3) Clicked “Preload Cache Now” when in the main site’s Dashboard
    3) Clicked “Preload Cache Now” when in another (sub)site’s Dashboard

    Mostly this works (an excellent plugin, by the way) but I’ve had some issues:
    1) Cache randomly clears. Not sure if this is right after I do a “Preload Cache Now”, but I’ve had all cache clear without any obvious reason (I have “Clear all cache files when a post or page is published or updated” unchecked).
    2) Sub-site’s home page does not get cached (but the rest of the pages in the sub-site do).

    Is there something I’m doing wrong, or some option I have enabled/disabled that needs to be toggled?

    I was also curious about how this works on a Multi-User site in general:
    I notice that once “Preload Mode” is enabled, it seems to be enabled on all sub-sites… or at least the checkbox is checked. It does not seem to be Preloading every sub-site, however. How come? Is there a way to actually enable Preload Mode for all sub-sites? Or even run a “Preload Cache Now” for all sub-sites?

    Thanks for your time. Any answers would be most appreciated.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try the development version on the “Other Versions” page. That fixes the bug where the cache is cleared when preloading.

    Preload mode will be set on each blog as it’s stored in a config file but you’ll have to visit the settings page on each blog to schedule the preload unfortunately.

    Thread Starter gs2656_columbia

    (@gs2656_columbia)

    Ok, I’ve installed the development version and haven’t encountered a random cache clear yet. Thanks! I’m still experiencing #2 (Sub-site’s home page does not get cached, but the rest of the pages in said sub-site do during Preload), however.

    I don’t know about #2. Use the debug system in the plugin on that blog when you’re preloading to see if anything shows up. The page will be cached as soon as someone visits anyway.

    Thread Starter gs2656_columbia

    (@gs2656_columbia)

    I took a look through the log (on log level 5) and saw the various pages being cached, except for the home page of the sub-site. It seems to just get mysteriously left out (no mention of it at all).

    I tried disabling the “Extra homepage checks. (Very occasionally stops homepage caching)” option to see if that solved things, but it did not.

    Any ideas?

    One of the things I am hoping to do with this plugin is to be able to easily create a static copy of the site and any/all sub-sites. With mod_rewrite mode, an rsync (excluding php files) seems to work nicely. If the preload misses a page, I can’t guarantee that the static copy will be 100% there. Though, due to other issues, it looks like I’m going to be using some wget magic anyway, so having it hit the home page of each sub-site isn’t such a big deal.

    I just remembered. Preloading does not preload the front page of the site. It loads posts/pages and archive pages.

    Maybe setup a cron job to fetch the front page to make sure it’s cached?

    Thread Starter gs2656_columbia

    (@gs2656_columbia)

    Thanks, that would certainly fix things.

    I was curious about the Preload process itself. Does it just do a wp_remote_get() on all the pages, triggering a supercached copy, or does it do something else?

    It clears the supercached files for the url first but yeah, that’s all it does then!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP Super Cache] Preload on a Multi-User site’ is closed to new replies.