What is WordPress WP Super Cache Plugin?

WP Super Cache is a popular WordPress cache plugin that can help improve the speed and performance of your WordPress

How WP Super Cache works

WP Super Cache works by generating static web pages from your dynamic WordPress blog. After a static page is cached our web servers will display these pages to your visitors in place of the cached dynamic page. Static files use less server resources than resource-heavy WordPress PHP scripts, resulting in faster loading pages.

WP Super Cache will allow your website to handle more visitors and will greatly improve your site speed by reducing load times.

DomainsFoundry recommends using WP Super Cache on all of your WordPress websites or blogs.

Whilst there are other WordPress caching plugins available, WP Super Cache is our recommendation as the best WordPress caching plugin. WP Super Cache offers simple and easy setup, great reliability and has that ‘just works’ factor.

How-to Install WP Super Cache

  1. Login to your WordPress Dashboard
  2. Click Plugins > Add New
  3. Search for WP Super Cache
  4. Click Install Now
  5. Click Activate
  6. Click Settings > WP Super Cache
  7. Select Caching On and click Update Status

Recommended WP Super Cache Settings

To get the best speed out of WP Super Cache you’ll need to make a few changes to the plugin’s settings. Follow the steps below to use our recommended WP Super Cache settings

  1. Login to your WordPress Dashboard
  2. Click Settings > WP Super Cache
  3. Click the Advanced tab
  4. Set Cache Delivery Method to Expert
  5. Check the following options:
    • Disable caching for logged in visitors
    • Compress pages so they’re served more quickly to visitors.
    • Cache rebuild. Serve a SuperCache file to anonymous users while a new file is being generated.
    • Extra homepage checks.
  6. Click Update Status after selecting the above options
WP Super Cache recommended settings
Click to enlarge. Our recommended settings for WP Super Cache plugin for WordPress
WP Super Cache recommended Advanced settings
Click to enlarge. Our recommended settings for WP Super Cache plugin for WordPress

Expiry Time and Garbage & Garbage Collection Settings

Recommended settings for Cache and expiry in WP Super Cache
Click to enlarge. Recommended settings for Cache and expiry in WP Super Cache

Expiry and Garbage collection settings control how often WP Super Cache refreshes your WordPress site cache. The Cache Timeout setting controls how long a cached page will remain ‘fresh’ and the Scheduler controls when ‘stale’ cached pages are deleted by WP Super Cache’s ‘Garbage Collector’.

These settings are important because they affect the speed and ‘freshness’ of your website cache. The settings to use depend on how busy your website is as well as the way your content is generated. There is no best setting for a website but we recommend the following setting based on typical website scenarios:

  • Mainly static content and no widgets (Most websites)
    Cache Timeout: 86400
    Scheduler Timer: 86400
  • Uses Widgets (E.g Twitter feeds) and RSS feeds which are updated every 1-2 hours
    Cache Timeout: 3600
    Scheduler Timer: 600
  • Very busy websites with lots of new content. E.g forums, comment pages.
    Cache Timeout: 60
    Scheduler Timer: 90

Once you have entered a Cache Timeout and Timer click the Change Expiration button to save.

WP Super Cache Rejected User Agents Settings

We recommend not changing the default values for Rejected User Agents in your WP Super Cache plugin settings.

Recommended settings for WP Super Cache User Agents
Click to enlarge. Recommended settings for WP Super Cache User Agents

The Rejected User Agents setting tells your WP Super Cache to only generate caches for pages viewed by real visitors rather than search engine bots. This boost your site’s performance by preventing WP Super Cache from using your server resources to create caches of files that would would most likely never be viewed by your real visitors.

For example, if you’ve installed the
The Events Calendar plugin
, your blog visitors are more likely to be looking at events in the near future, rather than past events. A search bot won’t make the same distinction and simply crawl through your entire calendar. One event after another. Creating cached pages of events that will not be viewed is a waste of server resources so Rejected User Agents setting tells WP Super Cache to not create a cache.

External links

WP Super Cache – WordPress Plugin
Static web page – Wikipedia
How to Install and Setup WP Super Cache for Beginners
Optimize Caching – Google Developers