StackPath Support

Implementing CDN on WordPress with WP Fastest Cache

To implement StackPath CDN on your website using WP Fastest Cache plugin, follow the steps below.

  1. Log into your WordPress admin panel.
  2. Hover your mouse pointer over “Plugins” and click “Add New”.
  3. In the “Search” box, type “WP Fastest 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” and after the plugin is installed, click “Activate Plugin”.
  5. Configure WP Fastest Cache with the following default settings.
    WP_Fastest_Cache_Options.png
    (please note that the configuration for this part is not tested on all themes and websites so certain websites might need a different configuration)
  6. Go to “CDN” tab and select “CDN by MaxCDN”.
    (MaxCDN is another platform under StackPath, but both are using MaxCDN option in this setup)
    CDN_Tab.png
  7. On the following window, click “Next” to proceed with the integration.
    MaxCDN_settings1.png
  8. On this window, you will be entering your CDN URL which is provided when you create your site in StackPath. Followed by Origin URL which should match your domain name (Origin URL) that you used to create the site.
    MaxCDN_settings2.png
    Note that this plugin requires http/https prefix. Match the one you are using, otherwise, implementation won’t work.
  9. Now choose which files you want CDN to serve from your website.
    MaxCDN_settings3.png
  10. Skip specifying of the sources by clicking “Next”.
    MaxCDN_settings4.png
  11. Next windows will acknowledge your CDN configuration and confirm that CDN is integrated. Click “Finish” and then “Close”. 
    MaxCDN_settings5.png
    MaxCDN_settings6.png
  12. After these steps are completed, you should purge the cache in order for the settings to be applied. This option can be found on “Delete Cache” tab.
    Delete_Cache.png

NOTE

To ensure that you have implemented StackPath correctly, you can view the source code of any page to confirm that the CDN URL is being used for static assets instead of your origin domain. You can also use tools like pingdom, gtmetrix, etc. that can give you more detailed reports on your CDN implementation status.

Return to top