Title: Preload on Multisite
Last modified: December 7, 2018

---

# Preload on Multisite

 *  [wlpdrpat](https://wordpress.org/support/users/wlpdrpat/)
 * (@wlpdrpat)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/preload-on-multisite/)
 * [@stodorovic](https://wordpress.org/support/users/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)

 *  [Saša](https://wordpress.org/support/users/stodorovic/)
 * (@stodorovic)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/preload-on-multisite/#post-10958541)
 * 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](https://wp-cli.org/) plugin – [wp-super-cache-cli](https://github.com/wp-cli/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](https://wordpress.org/support/users/gnetworkau/)
 * (@gnetworkau)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/preload-on-multisite/#post-11031566)
 * 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.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

## Tags

 * [preload cache](https://wordpress.org/support/topic-tag/preload-cache/)

 * 2 replies
 * 3 participants
 * Last reply from: [G](https://wordpress.org/support/users/gnetworkau/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/preload-on-multisite/#post-11031566)
 * Status: not resolved