Title: Preload &amp; old cached files
Last modified: August 15, 2020

---

# Preload & old cached files

 *  [rhisflow](https://wordpress.org/support/users/rhisflow/)
 * (@rhisflow)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/preload-old-cached-files/)
 * Hi there,
 * my question is the same like [@danbrady](https://wordpress.org/support/users/danbrady/)
   and a second person asked in [this thread here](https://wordpress.org/support/topic/preload-and-garbage-collection-2)
   about 2,5 years ago.
 * Unfortunately, for some reason, neither question was ever answered.
 * To quickly cite the core question from that original thread:
 * > However, my question wasn’t really answered.
   > I understand that garbage collection is disabled when preload is set to ON.
   > 
   > But let’s assume I schedule preload to run once per day. What happens after
   > 24 hours, when the second preload scan runs? What happens to the old (first
   > day’s) preloaded files? Does the preload process automatically delete the OLD
   > cached files, and replace with new versions?
 * Thank you so much!
 * Best,
    Flo

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/preload-old-cached-files/#post-13260029)
 * Yes, the old files are deleted on the next preload.They’re deleted just before
   preloading of the page.
 *  Thread Starter [rhisflow](https://wordpress.org/support/users/rhisflow/)
 * (@rhisflow)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/preload-old-cached-files/#post-13260300)
 * Hi Donncha,
 * thank you for your fast reply 🙂 !
 * Another follow up:
 * 1) What happens if a post or page gets updated before the next preload run happens?
   
   Will updating already cached posts delete their cached version?
 * 2) If that is the case (or if not, let’s assume I manually delete all cache or
   just one specific page from the preloaded cache):
 * What happens if such a page gets visited before the next preload run?
 * Will there still be a cached version created for each first visit (just like 
   without preload enabled)?
 * Thank you so much 🙂 !
 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/preload-old-cached-files/#post-13260384)
 * > 1) What happens if a post or page gets updated before the next preload run 
   happens?
    > Will updating already cached posts delete their cached version?
 * Yes, the old cached file will be deleted on update, and the new version will 
   be cached when someone visits it.
 * > 2) If that is the case (or if not, let’s assume I manually delete all cache
   or just one specific page from the preloaded cache):
    > What happens if such 
   a page gets visited before the next preload run?
 * A cached file is created for that page. That’s how this plugin works. Preloading
   isn’t needed.
 * > Will there still be a cached version created for each first visit (just like
   without preload enabled)?
 * Yes.
 *  Thread Starter [rhisflow](https://wordpress.org/support/users/rhisflow/)
 * (@rhisflow)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/preload-old-cached-files/#post-13260394)
 * Got it, that’s very clear, thank you!
 * So in other words, the basic way the plugin and its caching mechanism work doesn’t
   change, whether or not preloading is enabled.
 * The only difference is that if preloading is enabled, it “simulates” user visits
   to each page to create the cached version ahead of time, right?
 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/preload-old-cached-files/#post-13276385)
 * Yeah, that’s it.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Preload & old cached files’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/preload-old-cached-files/#post-13276385)
 * Status: not resolved