Preload not working in wp-super-cache

→ Are you a new visitor? Please visit the page guidance for new visitors ←

Preload not working in wp-super-cache

I was working a few days back when I fixed my cached plugin and I mentioned the option from wp-super-cache that I noticed (yeah, just then noticed), called preload. What it actually does it generates a cached page for each of your posts, categories, tags etc.  This can come in handy for small websites which won’t be having lots of hits to generate the cached pages on the fly.

Now I was looking at my google analytics for my website and I noticed one user came into my website for a search term “preload not working”. I remember I did had the exact same thing after playing a bit with preload, and I found that preload relies directly on the wp-cron.php being enabled. In one of my wordpress optimization articles I wrote about how to disable wp cron and why it is best left disabled.

So why exactly doesn’t preload working ? Since I specifically mentioned about the wp cron, it should not be that hard to figure it out, yes, you need to allow wp cron to work for preload on wp-super-cache to do its job.

To do this, just remove the line from wp-config.php which you probably added it manually:

And that would be all, sure hope the person who was looking for this noticed about the wp-cron file. Well for anyone else having this issue, I hope this is the fix for you.

Request an article ←