Installing WP Super Cache



If you are using DreamPress (DreamHost's managed WordPress hosting service), caching plugins and optimizations come preinstalled and preconfigured by default. Because of this, DreamPress sites do not need to install WP Super Cache.

Though WordPress is extremely versatile, your site may run less efficiently when it begins to receive more traffic. Since every WordPress page is processed by PHP, it can consume large amounts of memory on your web server when you experience even a moderate amount of traffic. Because WP-Super Cache creates a static file cache of your site and loads that instead of using PHP to generate a page (thus reducing memory usage on your server), it's an outstanding plugin to help improve your site's load time and overall performance.

If you wish to learn more about other WordPress caching plugin options, please see the following article:

The following describes how to set up and use WP Super Cache.

Configuring WordPress permalinks

Because WP Super Cache requires the use of permalinks, you may need to configure them before you proceed, especially if you are using an older WordPress installation.

If you install WordPress utilizing the DreamHost WordPress installer, permalinks are already set by default.

When you configure permalinks within WordPress, there are several options available. All permalink settings work with WP Super Cache except for the ‘Plain’ setting.

To change the permalinks settings:

  1. Open the WordPress Admin dashboard (e.g.,
    01 WP Super Cache.fw.png
  2. Navigate to Settings > Permalinks.
    Any of the options aside from Default will work, so your settings should look something like this:
    02 WP Super Cache.fw.png
  3. Click the Save Changes button to save your new settings.

How to set up WP Super Cache

WP Super Cache is already included and ready to use if you select the 'Deluxe Install' option when using the DreamHost WordPress installer. You may see an 'Activate' button when you initially launch your WordPress Install, in which case you should click it and then continue to the settings page.

You do NOT need to use the following instructions to further install WP Super Cache.

Before you install WP Super Cache

If you have previously installed any other caching plugin, you should disable and remove it before installing WP Super Cache. In general, double caching is not recommended and can create conflicts that could slow down your WordPress site. Known plugins that conflict with each other are WP Cache and W3 Total Cache.

To remove previously installed caching plugins, open the WordPress Admin dashboard and then click ‘Plugins’ on the left to view and edit your list of plugins.

Installing WP Super Cache

To download and install WP Super Cache plugin:

  1. Open the WordPress Admin dashboard (e.g.,
    03 WP Super Cache.fw.png
  2. Once logged in, click ‘Plugins' > 'Add New’.
  3. Towards the top right of the screen, search for WP Super Cache (or, wp-super-cache).
    04 WP Super Cache.fw.png
  4. Click the Install Now button next to WP Super Cache.
    WP Super Cache installs and allows you to immediately activate it:

Activating WP Super Cache

To activate the WP Super Cache plugin:

  1. Select one of the following:
    • Click the Activate Plugin link on the Installing Plugin page (see previous section), or
    • Go to the Plugins area of your admin dashboard 'Plugins' > 'Installed Plugins', and then click the Activate link.
    When you activate the WP Super Cache plugin, the following appears:
    07 WP Super Cache.fw.png
  2. Click the Settings link to open the WP Super Cache configuration page.
  3. Adjust your settings as needed. The following shows you a typical WP Super Cache Settings setup page:
    08 WP Super Cache.fw.png
  4. Click the ‘Caching On (Recommended)’ radio button, and then click the Update Status button.
    WP Super Cache automatically adds the following line to your wp-config.php file:
    define( 'WP_CACHE', true );

    If WP Super Cache fails to install, WordPress will provide links to its own troubleshooting documents.

Verifying WP Super Cache is actually working

To test WP Super Cache:

  1. Open the WP Super Cache admin page and click the Easy tab.
    09 WP Super Cache.fw.png
  2. Click the Test Cache button, which tests if WP Super Cache is functioning.
    The following appears when you click the Test Cache button:
    10 WP Super Cache.fw.png

Timestamps differ or were not found error

When you test your cache, you may see the following error message:

The pages do not match! Timestamps differ or were not found!

This is a Cloudflare Minify issue and happens when you have enabled Cloudflare on your domain. To fix, follow these steps:

  1. Log into your Cloudflare account at
  2. In the left menu, click the Speed tab and then click Optimization.
  3. Scroll down to the section titled Auto Minify. Un-check the 'HTML' option.
  4. Next, click the Caching tab and then click Configuration
  5. In the first section, click the Purge Everything button.
  6. Wait at least 30 seconds, then test your cache again in WordPress. This time it should show that the timestamps match.

Changing the caching type

Click the Advanced tab to view the different caching types. WP Super Cache supports two modes:

  • Simple
  • Expert (mod_rewrite)

You can change these in the Advanced Settings tab:

11 WP Super Cache.fw.png

There are pros and cons for each option. If performance is a priority or if your content is not updating that often, use the 'Expert' (mod_rewrite) mode which speeds up the Time to First Byte (TTFB) by orders of magnitude. This is because it doesn't have to search for additional PHP handlers to parse the cached file. Instead, it writes the content as raw HTML and then serves the HTML by itself.

If you're using Nginx, use 'Simple' mode instead.

Making WP Super Cache work with Nginx

You can find your wordpress.conf file on your Nginx server in the following directory. Change username to your Shell user and to your website.

The following lines are just a snippet from a whole wordpress.conf file.
###### rest of wordpress.conf above...
# only rewrite to the supercache file if it actually exists
if (-f $document_root$supercache_file) {
  rewrite ^(.*)$ $supercache_file break;

### stats
if ($request_uri ~* ^/(stats|doc|failed_auth\.html).*$) {

# all other requests go to WordPress
if (!-e $request_filename) {
  rewrite ^.*$ /index.php last;

See the following article for further information on using WordPress with Nginx:

Deleting the cache

If necessary, you can delete your stored cache in the WordPress dashboard.

  1. Log into your WordPress dashboard.
  2. Hover over 'Settings' and choose 'WP Super Cache'.
  3. Scroll down and click the Delete Cache button.

See also

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?