You are viewing the legacy StackPath SecureCDN Help Center. Please use if you signed up after July 1, 2018 or log in through

StackPath Support

WordPress with Hyper Cache Plugin: StackPath CDN Setup Guide

Hyper Cache is a cache plugin written purely in PHP which provides it with high compatibility with most WordPress setups and configurations. It can be used with low-resource hosting as well as on high-end servers.

Below we’ll show how to make the best use of the Hyper Cache plugin.

  1. Log into the WordPress admin panel.
  2. Hover your mouse over Plugins and click Add New.
  3. In the Search box, type Hyper Cache and click Search Plugins.
  4. Click Install Now. A prompt dialog will open and ask if you are sure you want to install the plugin. Click OK; then, after the plugin is installed, click Activate Plugin.
  5. Navigate to SettingsHyper Cache.
  6. Navigate to the General page of Hyper Cache.
    1. In the Cached pages will be valid for section, you can set the amount of time you want your page to be cached. It’s set to 24 hours by default; setting it to 0 will cache it forever.
    2. Check Enable compression.
    3. Check Enable on-the-fly compression.
    4. Check Allow browser caching. It’s set to 24 hours by default.
  7. Navigate to the Mobile page.
    1. Under Working mode, choose cache separately if you produce different content for mobile devices. If not, select use standard cache.
  8. Navigate to the CDN page.
    1. Click Enable.
    2. Enter your StackPath CDN URL in the CDN URL field.
    3. Click on Save.
  9. Click on the Clean the whole cache button.
NOTE: After enabling the StackPath CDN, you might encounter the following error:

You must add to the file wp-config.php (after the define("WPLANG", "");) the line of code: define("WP_CACHE", true);

After seeing this, edit your wp-config.php file and add this in a separate line:

define("WP_CACHE", true);

​If you have any questions about using this plugin effectively, feel free to start a live chat or leave a comment below.

Return to top