WP Super Cache is a decent cache’ing solution for WordPress, but I couldn’t get the preload function to work on a VPS — it wouldn’t even start. What the preload function does is it pre-caches all the posts, tags, and so on, to make everything faster (in short).
The first thing to do is to turn off wp-cron. You’ll need to edit the wp-config.php
file on your server and add or change the following:
define('DISABLE_WP_CRON', true);
From your linux terminal, you’ll need to open crontab:
crontab -e
Then you’ll need to add the following to the bottom of the file:
*/10 * * * * curl http://your-domain.com/wp-cron.php > /dev/null 2>&1
Please change the URL to wherever your wp-cron.php
file is. The */10
means that it will be run once every 10 minutes.
Thanks @toszcze!
5 Comments
Leave a reply →