Title: Preload doesn&#8217;t work
Last modified: February 11, 2023

---

# Preload doesn’t work

 *  Resolved [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/preload-doesnt-work-2/)
 * WordPress 6.1 and PHP 8. Preload doesn’t work. I set the preload to 60 minutes,
   i press preload now.
 * I get preload in 0 0 seconds, nothing is preloaded, i refresh and see Full refresh
   in 58 minutes, then after 60 minutes also nothing is preloaded.
 * All in all, preload doesn’t work for some reason. My cron is working just fine.
 * Thanks

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

 *  [Bruce (a11n)](https://wordpress.org/support/users/bruceallen/)
 * (@bruceallen)
 * Happiness Engineer
 * [3 years, 3 months ago](https://wordpress.org/support/topic/preload-doesnt-work-2/#post-16478141)
 * Hi [@dimalifragis](https://wordpress.org/support/users/dimalifragis/)
 * Do you have Garbage collection turned on? If so, can you try disabling it and
   see how that impacts your Preload?
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/preload-doesnt-work-2/#post-16478408)
 * Hi and thanks for the reply. Due to several issues with the plugin, we have switched
   to something else.
 *  [Bruce (a11n)](https://wordpress.org/support/users/bruceallen/)
 * (@bruceallen)
 * Happiness Engineer
 * [3 years, 3 months ago](https://wordpress.org/support/topic/preload-doesnt-work-2/#post-16483309)
 * Thanks for the update!
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/preload-doesnt-work-2/#post-16515909)
 * I was able to test this with an other client’s site.
 * When Refresh preloaded cache is disabled (0), MANUAL preload works like a charm.
   When you enable the preload scheduler, it doesn’t.
 * Disabling also the Garbage collection (as you suggest to try), doesn’t help.
 *  Plugin Contributor [Mark (a11n)](https://wordpress.org/support/users/thingalon/)
 * (@thingalon)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/preload-doesnt-work-2/#post-16534598)
 * Hi [@dimalifragis](https://wordpress.org/support/users/dimalifragis/),
 * Thanks for your reports. First, I can assure you that PHP 8, WordPress 6.1, and
   FastCGI shouldn’t be a problem here; I have tested with all of these environments.
 * > I also tried disabling garbage collection (setting Cache Timeout to 0), even
   > though my understanding is that in preload mode this setting should be irrelevant.
   > This seems to have no effect.
 * I agree that Garbage Collection _shouldn’t_ have an effect on this, however [@bruceallen](https://wordpress.org/support/users/bruceallen/)
   suggested it as we recently had another forum user report that having GC set 
   to anything other than 0 was deleting their Super Cache files for reasons we 
   haven’t yet tracked down.
 * Thank you both for checking and reporting on this setting, we can rule this out
   as a factor in your cases.
 * In order to track down what is happening, would you mind trying out DEBUG mode
   and triggering a Preload?
 * We have instructions for enabling DEBUG mode here: [https://github.com/Automattic/wp-super-cache/wiki/How-to-enable-debug-mode](https://github.com/Automattic/wp-super-cache/wiki/How-to-enable-debug-mode)
 * Set your preload time to 0 to turn off automatic refreshing, and then click the“
   Preload Now” button. Give it a few minutes, then check out the DEBUG log for 
   information.
 * It should look something like this:
 *     ```wp-block-code
       wp_cron_preload_cache: got 100 posts from position 0.
       supercache dir: /home/test-user/example.com/subdir/wp-content/cache/supercache/example.com/subdir/sample-page/
       wp_cron_preload_cache: fetched https://example.com/subdir/sample-page/
       supercache dir: /home/test-user/example.com/subdir/wp-content/cache/supercache/example.com/subdir/2023/03/06/hello-world/
       wp_cron_preload_cache: fetched https://example.com/subdir/2023/03/06/hello-world/
       wpsc_delete_files: deleting /home/test-user/example.com/subdir/wp-content/cache/supercache/example.com/subdir/
       wpsc_get_realpath: directory does not exist - /home/test-user/example.com/subdir/wp-content/cache/blogs/
       wpsc_delete_files: reading files: ..
       wpsc_delete_files: reading files: sample-page
       wpsc_delete_files: reading files: 2023
       wpsc_delete_files: reading files: .
       wpsc_delete_files: remove directory /home/test-user/example.com/subdir/wp-content/cache/supercache/example.com/subdir/
       ```
   
 * Take a look at the pages it’s fetching – make sure it appears to be fetching 
   all of the posts you expect to be preloaded, and check that there are no lines
   indicating files are being deleted (note: “remove directory” just indicates it
   will be removed _if empty_ and is not something to be worried about).
 * If you’d like help interpreting your debug mode output, please feel free to send
   it to me – but please be sure to edit out any private information you do not 
   want to post on this forum (e.g.: URLs, private directory names, etc).
 *  [Cena (a11n)](https://wordpress.org/support/users/cena/)
 * (@cena)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/preload-doesnt-work-2/#post-16544757)
 * Hi [@mjvito](https://wordpress.org/support/users/mjvito/),
 * Thanks for the archaelogy there! I went down quite a rabbit hole with those threads
   in the Yoast forums (they don’t seem to have corresponding issues in their [Github repository](https://github.com/Yoast/wordpress-seo/issues?q=is%3Aissue+%22super+cache%22),
   though).
 * I’ve pinged [@thingalon](https://wordpress.org/support/users/thingalon/) to take
   a look when he gets a chance.
 * Best,
 * Cena
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/preload-doesnt-work-2/#post-16544810)
 * I think guys you highjacket my topic. Where are those SQUAD guys form WP admin?
 * Are RULES for EVERYONE?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [3 years, 3 months ago](https://wordpress.org/support/topic/preload-doesnt-work-2/#post-16544818)
 * Moderator note:
 * [@mjvito](https://wordpress.org/support/users/mjvito/) , if you need support 
   then per the forum guidelines **please start your own topic** at [https://wordpress.org/support/plugin/wp-super-cache/#new-post](https://wordpress.org/support/plugin/wp-super-cache/#new-post)
 * [https://wordpress.org/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too](https://wordpress.org/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too)

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

The topic ‘Preload doesn’t work’ 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](https://wordpress.org/support/topic-tag/preload/)
 * [Yoast](https://wordpress.org/support/topic-tag/yoast/)

 * 8 replies
 * 6 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/preload-doesnt-work-2/#post-16544818)
 * Status: resolved