WP Super Cache Plugin CDN Settings shows you how to set up the following features CDN, contents, preload and much more.
Last Updated: August 19, 2019
Latest News: I updated the documentation.
The following information talks about WP Super Cache CDN, Contents and Preload settings. These settings are important to manage and set up correctly from the beginning. The CDN feature is only needed if you are going to set up CDN “Content Delivery Network” on your site. Otherwise you don’t need to enable this feature.
The Contents feature allows you to manage all the cache currently served by the plugin. Here is were you delete all the content and regenerate new content for your site.
The Preload feature helps you control how often you want the content to be preloaded on your site. You can also decide not to delete old cache files by enabling preload mode.
Note: Depending on the site size, these features can help you but make sure you carry out some test before you enable and save these settings.
WP Super Cache Plugin CDN Settings
Step 1 ) Go to Settings -> WP Super Cache -> CDN tab to start setting the plugins CDN settings. See image below.
Enable CDN Support
Step 2 ) The following image Enable CDN Support allows you to configure the following fields.
Enable CDN Support
- Site URL
- Off-site URL
- Include directories
- Exclude if substring
- Additional CNAMES
Step 3 ) The following image Additional CNAMES allows you add cnames in place of your site URLs. You can also enable the following feature Skip https URLs to avoid “mixed content” errors. Click on Save Changes button when you finish with the settings.
Note: Make sure you read the documentation because this can crash your site. If you don’t understand how this feature works, then leave this field blank.
Step 4 ) The following image Contents tab allows you to control the cache content of your site.
- Click on the following link Regenerate cache stats.
- Click on the following link List all cache files.
- Click on Delete Expired button to clear all the expired cache in your site.
- Click on Delete Cache button to clear all cache in your site.
Step 4-a ) The following image Cached Pages, displays the number of pages that are currently cached and the number of pages that are expired in the plugin. You can also delete cached pages if you want.
Note: In your case these figures will be different.
- Cached size of the content = In this example the size of the cached content is 43.22KB
- Cached Pages = In this example there are 130 pages cached.
- Expired Pages = In this example 0 pages have expired.
- URI page = Each cached page has a URI link for you to view.
- Number of Files
- Age of URI = This number is measured in seconds. For this example you can see 2 numbers 2065 and 2043.
- Option to delete the cached file = Click on the X link to delete the URI cached file.
Step 5 ) The following image Preload tab allows you to enable and configure the following features.
- Refresh preloaded cache files every 0 minutes. (0 to disable, minimum 30 minutes.)
- Preload posts = This feature allows you to control how many posts you want to preload.
- Preload mode (garbage collection disabled. Recommended.)
- Preload tags, categories and other taxonomies.
- Send me status emails when files are refreshed = See Step 5-a ) below.
- Click on Update Settings button when you finish configuring the settings.
Step 5-a ) The following image allows you to control how many times you want to receive an e-mail with the latus status.
- No Emails
- Many emails, 2 emails per 100 posts.
- Medium, 1 email per 100 posts.
- Less emails, 1 at the start and 1 at the end of preloading all posts.
Step 5-b ) The following image displays the time period for the cache content. In this example the time period before refreshing the cache content is 48 hours. The image is showing the time period remaining, which is 47 hours, 55 minutes and 0 seconds.
Note: In your case the refresh might be different.
Step 5-c ) The following image Preload Active shows you the current files being cached. You can also click on the following button Cancel Cache Preload at any time during the process.
I will be updating this tutorial from time to time so keep coming back for the latest. If you have any questions please let me know.
WP Super Cache Tutorials List: