Title: Large cache, saving frontpage
Last modified: June 4, 2018

---

# Large cache, saving frontpage

 *  [kloppster](https://wordpress.org/support/users/kloppster/)
 * (@kloppster)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/large-cache-saving-frontpage/)
 * We have an extremely large cache (50,000+ file & directories at a time). A huge
   annoyance is whenever we save the front page the garbage collector wants to traverse
   and check and update all 50k+ cache files and expire them. This ends up timing
   out as filesystem commands are inherently slow especially with that many files.
 * I have dug through most of the plugin and haven’t found a *nice* place where 
   I could add a filter to prevent this. My first thought was to add all the files
   to the protected list, however that just means the code will read all the files
   in the system twice.
 * Any advice on how to fix this would be greatly appreciated!

The topic ‘Large cache, saving frontpage’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [kloppster](https://wordpress.org/support/users/kloppster/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/large-cache-saving-frontpage/)
 * Status: not resolved