Search
Close this search box.

How to use MaxCDN and the new W3 Total Cache Plugin

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.
Table of Contents

Sponsored Ad

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 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.

Sponsored Ad

If you purchase through a link on our site, we may earn a commission.

All suggestions are anonymous.

More from our blog...

One Response

Post a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stay updated with WP Mayor's newsletter showcase every week

Stay on top of every new WordPress innovation and latest launches. Receive all our fresh product reviews and expert guides directly in your inbox.

Hosting Survey 2024

Are you happy with your hosting provider or are you over-paying for too little? Have your say below!

"*" indicates required fields

What's the main reason you picked this host?*
How happy are you with your host?*

OPTIONAL: If you'd like to receive the results of this survey, please enter your details below.