We use cookies to understand how you interact with our site, to personalize and streamline your experience, and to tailor advertising. By continuing to use our site, you accept our use of cookies and accept our Privacy Policy.

Your Digital Commerce Experts
Nexcess Logo

How to configure the Nexcess CDN with WordPress and WP Rocket

June 19, 2020

Using a Content Delivery Network (CDN) will allow site images and assets (JSS and CSS) to be served from the CDN Point of Presence nearest to the customer. This will improve load times for your site. Managed WordPress and Managed WooCommerce sites plans include the Nexcess CDN. 

Many businesspeople wonder How Does a CDN Work to Speed Up Your Ecommerce Site? but they will discover that the reasons are remarkably straightforward. Review the content, resources, and links in this article to learn more about those reasons in full detail.  

Step 1: Enable Nexcess CDN

  1. Log in to your Nexcess portal for your site. Select the Plan Dashboard for the correct site.

  2. Go to the Performance tab in the portal. 

  3. Click on the Configure CDN on Your Site and follow the steps to enable the CDN for your site.  

Step 2: Configure WP Rocket

  1. From your WordPress admin panel, select Settings > WP Rocket.

  2. Go to the CDN tab in WP Rocket you will need to toggle on Enable Content Delivery Network

  3. In the CDN CNAME field type your origin CDN URL. For example, https://eadn-wc02-876771.nxedge.io/cdn

  4. You can set which assets or paths you want to exclude from the Nexcess CDN in the Exclude files from CDN section in the CDN tab of the WP Rocket plugin. 

  5. Click Save Changes.

  6. Since you are already using WP Rocket you can get some extra performance gains for site users by setting the CDN URL to be DNS prefetched. Go to Settings > WP Rocket > Preload. 

  7. Enter the URL to be DNS prefetched, an example would be //eadn-wc02-876771.nxedge.io/cdn then save the changes in WP Rocket.

  8. When you are testing the site using the Nexcess CDN using GTmetrix or WebPageTest it should be tested from multiple continents, if you're testing from a geographical region close to the origin server, the performance benefit will not be as apparent as it would to a test done in a different region.

  9. If you do need to purge the content being stored in the Nexcess CDN you can purge the CDN directly from the portal in the performance tab. For 24-hour assistance any day of the year, contact our support team by email or through your Client Portal.

Luke Cavanagh
Luke Cavanagh


Product Operations Manager at Nexcess. A devoted husband and tween wrangler. Synthwave enthusiast. Jerry Goldsmith fan. Doctor Who fan and related gubbins.