WP Rocket is a caching and performance optimization plugin for WordPress that improves page load time. Installation and configuration can be completed in less than 3 minutes.
This article will walk you through the most simple Static Assets Integration. To get the most out of StackPath (WAF and DDoS protection) you will need to use a Full Site Integration
Before you begin, we highly recommend you test the performance of your site using Google Page Speed or Pingdom Tools. You can test your site now and after setting up the plugin for a before and after performance comparison.
This tutorial assumes you've already gone through the steps to create a StackPath CDN Site and the WP Rocket plugin is purchased.
Log in to the WordPress admin panel:
On the left-hand menu, hover over Plugins and select Add New:
At the top of the page, click Upload Plugin.
Click Choose File. Then grab the WP Rocket plugin file from the folder you saved it to. After selecting it click Install Now.
Click Activate Plugin.
In the top menu click the WP Rocket link.
Click the CDN tab.
- Enter your CDN URL in the text field called CDN CNAME(s).
Save the changes.
Verify the source code of any page to confirm that the CDN domain is being used for static assets instead of your origin domain. Your CDN URL should precede directories designated for static content is located.
Test Speed and SEO after Stackpath CDN is enabled
Compare the before and after tests and note that it can take one to seven days for your site to reflect the performance improvements of a CDN. Both of these test sites also will give you SEO recommendations that you can follow.
Feel free to take a look at these articles for some possible next steps with your CDN Integration:
In the event you have problems with the integration, we have 24/7 integration assistance via live chat by clicking our chat bubble at the bottom of this page! We are always happy to help answer questions and to help make sure you experience the fastest and most secure experience with Stackpath CDN.