How to use MaxCDN and the new W3 Total Cache Plugin

  Introduction
W3 Total Cache is the most popular caching WordPress plugin out there. What made it this popular was the extensive settings that offer advanced options to configure the caching exactly like you need it. With the integration abilities being one of the strongest parts of W3TC, it can be integrated with almost any server side caching software or just use the system’s hard drive, particularly useful for shared hosts. Lets see how we can integrate MaxCDN with W3 Total Cache.
WP Mayor’s work is supported by its audience. If you purchase through a link on our website, we may earn a commission. Here’s why you can trust us.
Table of contents

What is W3 Total Cache

W3 Total Cache is the most popular caching WordPress plugin out there.

What made it this popular was the extensive settings that offer advanced options to configure the caching exactly like you need it. With the integration abilities being one of the strongest parts of W3TC, it can be integrated with almost any server side caching software or just use the system’s hard drive, particularly useful for shared hosts.

Except from caching, W3TC can integrate Content Delivery Networks and rewrite the website’s URLs as needed.

MaxCDN being one of the most popular CDNs was integrated in the plugin using the provided API. This allows the users to enable CDN delivery via MaxCDN without any issues or the need for advanced knowledge.

Why Bother

A CDN or Content Delivery Network can be an important part of a website, in terms of speed and web performance. By delivering all static content via a large network of data centers across the world it helps the users to load a faster website and at the same time offload the web server of the webmaster.

Especially since Google started taking loading times as a parameter in google results, it became even more crucial to have a fast website.

How to Install

To install W3 Total Cache all you have to do is type “W3 Total Cache” in plugin search of your WordPress installation.

1

The plugin should be the first result, press “Install” and “Activate” and you are done.

2

A “Performance” menu will be appear on the sidebar. It contains all W3 Total Cache settings.

How to enable MaxCDN

To enable MaxCDN first we go to “General Settings” on the left side. Then select “CDN” on the menu or scroll down until you find the “CDN” section. All you have to do is click “Enable” and make sure “MaxCDN” is selected on the dropdown menu.

3

“Save all settings” will save your configuration. Once the page refreshes a warning message should appear on top:

4

You can either click the link in the warning message or go “CDN” on the left and scroll down to “Configuration.

5

Click “Authorize”.  A new window will open and MaxCDN website will load.

6

Enter your information and press “Log In”. A window will open with your authorization code. Copy the code.

7

Go back to your website and paste the code in the “Authorization key” field. Click Save all settings. Now the “Authorize” button should disappear and a new “Create Pull Zone” should be in its place. Click the button, a popup button should appear.

8

Fill in the details required. Name is the name of the pull zone and will be part of the temp url. For example name.jim.netdna-cdn.com. Description is not used anywhere except from the control panel. Once you fill in the info hit “Create Pull Zone”. If everything went ok you will see a message with further instructions.

9

Close the window and hit the “Test MaxCDN” button. A Test Passed message should appear.

10

Now if you click Save all settings you are good to go. Congrats! Right now all urls to static content on your website, like images/css/js is being rewritten to MaxCDN temp url. This is the basic setup and works perfectly.

Create a CNAME

Now if you want to serve your traffic from a custom URL and not the default MaxCDN then you can create a CNAME. To do that you will need access to your DNS hoster.

For example to serve traffic from the domain cdn.example.org you will need to create a CNAME record inside the control panel of your DNS provider. The CNAME record should be pointing to your current MaxCDN temp url. Like this

11

Right now all static content is being rewritten and loaded using MaxCDN temp url.

If you enjoyed this post, make sure to subscribe to WP Mayor’s RSS feed.

Jean Galea
Jean Galea
Jean Galea is an investor, entrepreneur, and blogger. He is the founder of WP Mayor, the plugins WP RSS Aggregator and Spotlight, as well as the Mastermind.fm podcast. His personal blog can be found at jeangalea.com.
Jean Galea
Jean Galea
Jean Galea is an investor, entrepreneur, and blogger. He is the founder of WP Mayor, the plugins WP RSS Aggregator and Spotlight, as well as the Mastermind.fm podcast. His personal blog can be found at jeangalea.com.
PeachPay for WooCommece

An all-in-one checkout and payment solution for WooCommerce . See your store's sales increase by 35%!

4 Months FREE with WP Engine

4 months free on all shared managed WordPress and eCommerce hosting plans. Offer ends on 12/01/2022.

Expand your toolset with expertly verified solutions delivered to your inbox every week.
Join thousands of designers, developers, and marketers who trust our experts to find and test the best tools for their WordPress sites.
By signing up to our newsletter, you agree to receive electronic communications from WP Mayor that may include advertisements.
Expand your toolset with expertly verified solutions delivered to your inbox every week.
Join thousands of designers, developers, and marketers who trust our experts to find and test the best tools for their WordPress sites.​
By signing up to our newsletter, you agree to receive electronic communications from WP Mayor that may include advertisements.

One Response

Leave a Reply

Your email address will not be published. Required fields are marked *

From web hosting to WooCommerce plugins and backup services, we have put together a collection of exclusive coupons and deals just for you.
WP Mayor_Icon_white
2022 Reader Survey