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 you how to make the best use of the Hyper Cache plugin.
Implementing CDN with Hyper Cache
- Log into your WordPress admin panel.
- Hover your mouse over “Plugins” and click “Add New.”
- In the “Search” box, type “Hyper Cache” and click “Search Plugins.”
- 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.”
- Navigate to Settings → Hyper Cache.
-
Navigate to the “General” page of Hyper Cache.
- 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.
- Check “Enable compression.”
- Check “Enable on-the-fly compression.”
- Check “Allow browser caching.” It’s set to 24 hours by default.
-
Navigate to the “Mobile” page.
- Under “Working mode,” choose "cache separately" if you produce different content for mobile devices. If not, select “use standard cache.”
-
Navigate to the “CDN” page.
- Click “Enable.”
- Enter your CDN URL in the “CDN URL” field.
- Click on "Save."
- Click on the “Clean the whole cache” button.
After enabling the 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 or experience any issues, please reach out to the Support Team, live chat and ticket support are available 24/7.