How to Automate Cache Purging and Preloading with Super Page Cache
Automating cache purging and preloading ensures your website always delivers updated and cached content without manual intervention. The Super Page Cache plugin provides a straightforward way to achieve this using cron jobs. Follow the steps below to configure automation for your site.
Using Cronjob | Via Cpanel |
Automating Cache Preloading/Purging with a Cron Job
1. Configure the URL-Based Cron Event

2. Manually Trigger WP-Cron
3. Verify the Cache Purge Status
Automating Cache Purging via cPanel
Automating cache purging ensures outdated content is promptly removed. If you are using cPanel, you can create a true cron job to achieve this.
If you are not comfortable setting up a cron job, contact your web host for assistance. A recommended interval is once every 10 minutes.
Alternative Method: Online Cron Job Services
- 1
-
Go to console.cron-job.org/signup and create an account.
- 2
-
Log in and open the Cronjobs panel. Click on Create Cronjob.
- 3
-
Fill out the details:
- For Title, enter a descriptive name.
- For URL, use https://yourwebsite.com?swcfpc-purge-all=1&swcfpc-sec-key=CronJobSecretKey
- 4
-
Set the execution schedule according to your needs (e.g., every 10 minutes).
Automating cache purging and preloading ensures your website remains fast and updated with minimal manual effort.