Important note

This tutorial assumes you have already created a Pull Zone.

Installing WP Super Cache

  1. Log into your WordPress admin panel
  2. Hover your mouse over “Plugins” and click “Add New”
  3. In the “Search” box, type “WP Super Cache” and click “Search Plugins”
  4. The first option will be “WP Super Cache” and in the “Description” box, it will show that the plugin is created by “Donncha O Caoimh”. This is the plugin you need to install.
  5. Click “Install Now”. A prompt dialog will open and ask if you are sure you want to install the plugin, click “OK.” After the plugin is installed, click “Activate Plugin”.
  6. You should see a yellow box advising, “WP Super Cache is disabled. Please go to the plugin admin page to enable caching.” Click on the “plugin admin page” to go to the settings page.
  7. The settings for “WP Super Cache” can be found under the “Settings” menu in the WordPress admin dashboard

    There! Now you are ready to configure the plugin’s options.

Configuring WP Super Cache

  1. Log into your WordPress admin panel, scroll down to the “Settings” link on the left panel, and click on “WP Super Cache”
  2. The first tab is called “Easy”. Ticking the “Caching On” option and then clicking “Update Status” is all that needs to be done on that page.
  3. Next step is to click on “Advanced”, and start setting the options that best fit your blog. We have listed the recommended settings below, but of course the best settings for your blog may be different.
    1. Tick the “Cache hits to this website for quick access.” check box next to “Caching.” (Recommended)
    2. Tick the “Use mod_rewrite to serve cache files.” radio box. (Recommended)
    3. Under “Miscellaneous“, make sure to tick the check boxes next to the following options:
      • Compress pages so they’re served more quickly to visitors. (Recommended)
      • Don’t cache pages for known users. (Recommended)
      • Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated. (Recommended)
    4. Important note

      If you should need “304 caching,” make sure to use the php caching method as it can’t work side by side with mod_rewrite. Also, the php method has a performance advantage compared to legacy mode.

    5. You can leave the rest of the option as they are, no changes.
    6. Click “Update Status”
    7. After that, you may get a message asking you to “Update Mod_Rewrite Rules,” so scroll down the page until you find that option, and then click the button
  4. Now click the ” CDN” tab.
  5. Tick the “Enable CDN Support” check box.
  6. In the box next to “Off-site url” box, enter your CDN URL prefixed with http://. You can use the Temporary CDN URL which you have been given after you have created your Pull Zone. If you are using a Custom Domain, such as cdn.mysite.com, you can input that in the text box.
  7. Insert the same URL in the box next to “Additional CNAMES”
  8. Tick the check box called “Skip https URLs to avoid “mixed content” errors” — this will prevent any SSL errors if you have some parts of your website under SSL. Enable this option only if you do not have a Custom or Shared SSL CDN URL.
  9. All done. Click “Save Changes.”
  10. Not always necessary, but you can click on “Contents” and “Delete Cache” to make sure the cached contents of WP Super Cache contents is fresh.

NOTE

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