• @stodorovic On a multisite installation using Preload – is there are way to prime the pump to start building the cache on all sub-site without having to go to each sub-site and click Preload cache now? I thought by configuring it from the Network Admin and clicking Preload Cache now that it would start loading cache on all sub-sites but alas it only loads on the main site.

    Any thoughts on how to handle this programatically would be very much appreciate.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Related to huge number of sites, it could be tricky because WPSC uses files in cache directory to store details about active preload. So, it’s impossible to handle preload for more sites at same moment. I’ve an idea to we change outdated code in WPSC – we could use transients/options (which is stored separately for each site) instead of files.

    There is WP-CLI plugin – wp-super-cache-cli. I’ve improved the code in this plugin and WPSC. I need to do more changes in wp-super-cache-cli and it seems as tool which you need. I hope that you have shell access.

    Related to crontab, I highly recommend running cron jobs via shell script. I’ve couple scripts which could help. They needs little improving and maybe I’ll publish them on github.

    I need to think over about best solution for you question. It’ll be good to we create new issue on github.

    G

    (@gnetworkau)

    Anything happening with this?

    I can run a cronjob, and would appreciate suggestion for what the command would look like.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Preload on Multisite’ is closed to new replies.