Help Docs Control Panel Guides Nexcess Control Panel Nexcess Managed WooCommerce Nexcess Managed WooCommerce Plugin Management Using the WP Super Cache plugin with the Nexcess CDN

Using the WP Super Cache plugin with the Nexcess CDN

You can improve your website speed and performance using the WP Super Cache WordPress caching plugin with the Nexcess Content Delivery Network (CDN). Let's review the steps involved.

Overview

You can improve your website speed and performance using the WP Super Cache WordPress caching plugin with the Nexcess CDN (Content Delivery Network). We’ll include step-by-step instructions for setting up and configuring the plugin and CDN.

Step by step instructions

Before starting, we assume you’ve already created a WordPress website. Also, if you have already installed another caching plugin, you’ll need to deactivate it before using WP Super Cache to avoid any conflicts.

You can set up the WP Super Cache plugin via the WordPress Admin Panel by following the below steps.

1. Log in to your WordPress Admin Dashboard.

2. Go to the left-hand menu and select Plugins.

3. Enter WP Super Cache in the search bar.

4. Click Install Now.

5. Select Activate.

6. Now, go to Settings > WP Super Cache.

7. Under the Easy tab, select the Caching On option to enable WordPress caching. Then, click the Update Status button.

8. Once you’ve enabled caching, click Test Cache to see if it works.

9. The plugin will fetch two copies of your website and display the timestamps of each. If the timestamps match, that means you’ve successfully configured caching.

10. You’re also able to configure advanced caching settings. We will discuss these settings later in the subsequent sections.

Full-page caching
Nexcess-managed WordPress and WooCommerce plans also come with full-page caching. And as mentioned earlier, a website that loads quickly is critical for ecommerce success — and this outcome is facilitated by our full-page caching feature.

Enabling CDN support in the WP Super Cache plugin

To turn on CDN support with the WP Super Cache plugin, follow the steps below:

1. Navigate to the CDN tab.

Navigate to the CDN tab.

2. Select the Enable CDN Support option and add your CDN URL to the Off-Site URL field. You can add more CNAMEs to boost performance.

3. Check the Skip HTTPS URLs to Avoid “Mixed Content” Errors checkbox and then save the changes.

Serving cache files with WP Super Cache

One of WP Super Cache’s main selling points is its different caching modes. It can serve cached files using Simple mode (PHP) and Expert mode (mod_rewrite):

1. Under the Advanced tab, choose your preferred cache delivery method and select the Update Status button.

2. If you choose Expert mode, scroll down and select Update mod_rewrite rules. The .htaccess file will be modified, resulting in end users receiving cached content much faster.

3. Note that the file will update automatically. But if this doesn’t happen, you’ll get access to the rules and can edit the file yourself.

4. However, when making changes, you must be familiar with the .htaccess file. If anything goes wrong, it could break your website.

5. All in all, Expert mode is fast because it doesn’t use PHP — that is to say, it bypasses PHP.

6. Simple mode is easier to configure since it was designed with beginners in mind. Another advantage of Simple mode is that it supports dynamic caching for specific parts of your page. Although it isn’t as fast as Expert mode, you’ll still reap the benefits that come with caching.

Backup your .htaccess file!
Because problems with your .htaccess file could break your website, always be sure to make a backup of the file before implementing any changes.

Compressing pages in WP Super Cache

WP Super Cache gives you the option of compressing your cached files. This results in quicker page load times and a better browsing experience for end users.

You can find the compression option in the Miscellaneous section under the Advanced tab. From here, check the checkbox that states, “Compress pages so they’re served quickly to visitors.” It’s that easy!

Activating dynamic caching in WP Super Cache

With WP Super Cache, you’re also able to configure dynamic caching. This feature is particularly useful for pages with dynamic content, as it won’t negatively impact page speed. That stated, dynamic caching is only available in Simple mode (as mentioned earlier). Expert mode doesn’t enable this option.

To configure dynamic caching, go to the Advanced tab and navigate to the Advanced settings section, where you can check the “Enable dynamic caching” checkbox.

Configuring the expiration time and garbage collection

Now let’s look at the expiry and garbage collection settings:

You can use the Cache timeout section to configure how long cached pages stay fresh (before a new copy is created). You’ll find it set at 1,800 seconds or 30 minutes, ideal for websites that witness heavy traffic.

You can set the time to 3,600 seconds or more for new websites or those with less traffic. You are able to set the time for when the plugin should look for stale cached files and delete them. Put another way: You’ll choose how often you want old, cached files to be removed.

There you go — you’ve enabled the Nexcess CDN with WP Super Cache.

Conclusion

Data caching is an excellent approach to speed up load times. The Nexcess CDN and the WP Super Cache plugin make this solution much more accessible.

You should notice a reduction in loading times when you enable WP Super Cache because it has some optimization features turned on by default. The Nexcess CDN is built into our platforms to be used quickly and with minimal configuration.

Was this article helpful?