John Chow dot Com Free WordPress Installation - Start Your Blog Today!
 

How To Use A Content Delivery Network (CDN) To Make Your Blog Load Much Faster

written by John Chow on March 21, 2010

How one lazy bum made $176,697.50

Last week, I put my blog on the MaxCDN Content Delivery Network in the continuing quest to improve blog performance. The results so far have been extremely positive, especially for my overseas readers. My friends in Asia and Hong Kong are reporting much faster load time and speed when reading my blog.

What Is CDN?

Unlike normal web hosting, where your content is housed on a single server, a Content Delivery Network (CDN) takes the blog’s static content (CSS and Javascript files, downloadable objects, applications, real-time media streams, etc.) and replicates it through hundreds of servers around the world instead of a single host at one locatioon. This technology makes sure each visitor to your site gets their data from the city closest to them.

Generally, the closer you are to the web host, the faster your blog will load. My web host is located in the US East Coast, which gives great performance for readers living in that aera. However, readers further away and overseas won’t experience the same speediness.

By bringing your content closer to your readers’ connection point, your blog will have much quicker load times, superior scalability, and guaranteed uptime. A faster loading site not only makes your visitors happy, it can also earn you a few extra points toward a higher ranking on the major search engines (Google loves fast loading sites).

MaxCDN

MaxCDN is a division of NetNDA and one of the biggest CDN providers on the Internet. MaxCDN is the content delivery provider for Mashable, Template Monster, BuySellAds, Copy Blogger and many other big sites and blogs.

How To Add MaxCDN To A WordPress Blog

Installation of MaxCDN to WordPress was a lot easier than I thought thanks to the W3 Total Cache plugin. W3 Total Cache offers transparent MaxCDN content delivery network integration. Even if you don’t plan to use a CDN service, I recommend you install W3 Total Cache on your blog anyway. It’s the best caching software for WordPress that I’ve ever used.

W3 Total Cache

Once the W3 Total Cache has been installed and configured, it’s just as matter of logging into your MaxCDN control panel to create a Mirror/Pull zone and entering the URL for that zone into the W3 Total Cache control panel. Your blog is now on CDN!

MaxCDN

You can manage all your CDN from the MaxCDN control panel, which feature some really cool real time stats on where your content is being delivered to. I wasn’t surprised to see LA as the number one city for my blog. However, I would have never dreamed that Amsterdam would be number two!

Do I Need CDN?

You might think that a CDN service would be good for big blogs only and normally, I would agree with you. However, MaxCDN pricing is so affordable that even small and medium sized blogs can take advantage of the service. MaxCDN charges on a pay as you go plan with no long term contract. They’re running a special right now on the first 1,000GB of data transfer for only $39.95 (normal price is $99). After that, you pay 9.9 cents per gig. The price goes down to 3.9 cents per gig if you’re using Mashable size bandwidth.

With prices this low, any blog can afford to have their content delivered by hundreds of servers around the world instead of just one. So far, I am very impressed with with MaxCDN and I can see why blogs like Mashable and Copy Blogger use them. If you’re looking to take your blog to the next performance level, give MaxCDN a shout.

MaxCDN – Accelerate Your Site To The Max for Only $39.95

Did you enjoy this post? Get John Chow Dot Com updates via email...

Stay up to date with all of John Chow’s tips for making money online and blog posts by subscribing via email. Your email will be kept private and never shared with anyone.

Comments have been disabled for this post.
Sort: Newest | Oldest

Our traffic is split about 50/25/25 between Asia, N.America and Europe, will using this sort of service help, or are they still pretty N.American focused??

I signed up and paid for MaxCDN last Saturday but have not received any information since then. Live chat does not work and emails are going unanswered. That strikes me as a very poor way of doing business and what you'd expect from a fly by night operation, not a legitimate business as they claim to be. If I don't hear from them by the end of the week I will have to file a PayPal dispute to see if I can get my money back.

Google pointed out that loading of your website will be a crucial point for SEO and I think because of that many people will go to these people.

John, got to admit I was dubious about CDN's before but i can honestly say that i wonder now why they are not more widely spoken about as the results are truely remarkable.
A great blog post and very helpful. Thanks

Is W3 cache still better than WP cache even if I don't use CDN?

Ana

Yes it is. W3 has way more features than WP Cache even if you don't use the CDN feature.

So CDN isn't meant to replace your host, it's meant to supplement it? I'm just slightly confused because you said it is replicated on many servers.

No, it doesn't replace your web host. It supplements it. You actually might end up saving money. If your host charges you on a per GB basis like most Cloud host do, you'll save on bandwidth charges because lot of the content is being served by CDN.

All the people wanting to get on the CDN bandwagon should probably first understand what a CDN is and if they even need it.

Most blogs aren't big enough to really warrant a CDN. Even the bigger blogs really should first optimize their site first and then think about CDNs. The biggest blogs, I understand, all use a CDN anyway to deliver content.

I don't think a lot of people here understand what a CDN is either and really understand if they need it or not. I

Exactly right, spend more time optimizing your images, javascript, and css before even considering setting up a CDN.

Reduce your HTTP Requests as well, and your site will always load faster. There's very few reasons a website should have five or six javascript or five or six css http requests.

http://developer.yahoo.com/performance/rules.html

Just tested your blog loading and see archive test, your blog loading is super fast now, congrats John!

Excellent service John! I have introduced this service on my blog a week ago and also got one account. It is affordable for all bloggers of any size for just $10. My blog loading time is much faster and it is about 2.9-3.7s according to Pingdom while previously it is more than 10s. I recommend you guys to get it before the promotion ends!

Forgot to also ask: what's your origin URL in your Max CDN Pull Zone? I simply put /wp-includes/, but I want the /wp-content/ directory to be pulled too? Should I simply put in my root domain?

John, under the Content Delivery Network options in W3, is your CDN type "Mirror," or "Self-hosted"? I'm on mirror, but my theme files aren't being pulled in.

I set up a sub-domain and a CNAME to mask the netdna domain, but so far only /wp-includes/ is getting pulled.

Something to give the normal hosting a challenge?

That seems like a great idea John, I know load speeds can be a real pain sometimes and can affect your visitors experience.

Quite impressed to see an affordable price also.

But content delivery network is not always fast. I use Amazon content distribution only for images and it is acceptable. The biggest benefits of using a content delivery network is more than one distribution points. For example, that helps people who are accessing your site from Asia where your server is located in North America or Europe.

I'm using a cloud server - how do you think that compares to the CDN? I know my cloud is international, but it isn't specifically targeting content distribution and caching.

CDN and cloud work well together. While a cloud host spreads your data across multiple servers, those servers are still located in one data center. The CDN will take that data and spread across the world.

I don't see any speed different in your site.

Hmm... very interesting! I haven't heard of CDN's before, but that is definitely something neat to explore for more popular websites.

How does W3 Total Cache compare to WP Super Cache? I'm using that right now and I think it is decent, thoughts?

W3 Total Cache is WAY BETTER than WP Super Cache. It's like comparing a Ferrari to a Fiat.

Thanks, I'll look into switching :)

Now we can visit johnchow by this URL also http://cdn.johnchow.com :)

sounds great ..program .....
i think mashable also using cdn :)

Sounds great. Makes sense, especially for overseas visitors. Thanks.

That's smart.People comment on my site saying my web page loads slow.Thanks :)

This sounds great - so if I have a site using the plugin, and it eventually grows to where I'll need it - I can just sign up and flip the switch? I mean, is it really that easy?

Ya, it's that easy. Many blogs that are not on CDN use the W3 Total Cache to speed up their load times.

So with this post advertisment of W3 total cache is also going on.

I don't know what you did, but as of few days back, %70 times I load your site, it ends up without CSS (broken raw html). I need to refresh 3 - 7 times before the site loads correctly. be sure it doesn't have problems with cdn. btw i'm in europe. also, i was thinking about CDN as well, but am not sure which provider is the best??

After the 1,000GB is used up, do they just automatically start billing your credit card monthly?

And if you decide to cancel after the first 1,000GB, can you just disable it in W3 Total Cache and go back to normal without losing any files?

After the 1TB is used, they bill you once per month on the amount of transfer over the 1TB at 9.9 cents per GB until you've hit 50,000GB. Then the price goes down 7.5 cents per GB until you hit 150,000GB at which time the price goes to 3.9 cents per GB.

If you cancel, you just disable CDN in the W3 Total Cache. You won't lose anything.

Their price is quite comfortable.

am sort of confused.

once i am done setting up CDN, where does my newly uploaded 'jpeg' goes to? the primary server or to the CDN's server?

It goes to all of them. This way the reader will always get the version that is closest to him.

I love blogs that load quickly so I will definitely look into getting MaxCDN, even though most of my blogs are relatively small in size.

Thats a nice way to deliver content from your blog. Fast and easy, just bad it costs money.

You name yourself ProBlogger and then you bitch that something cost money. Better change your name.

Yes, I didnt think it through, my name is more a manifest now than a reality, only $200 per month in blogging, and that can't be called pro just yet :)

But its in norwegian, and we are only 4mill people.

Then don't use that name. You are giving Darren Rowse a bad reputation.

lol.....problogger :D

Werd. Rock on for telling it like it is John :-)

Interesting post. Used as a standalone plugin, why do you like this better than wp super cache?

It does way more than WP Super Cache. In addition to CDN support, W3 can cache your blog's database.

This looks sick. I'm gonna give it go. I have thesis with a child theme over the top, and the database / javascript calls are killing my load times even on a fairly robust VPS.

Thanks for the tip.

Could not load your blog! Must be slower then you think!?

It loaded OK for me....way down here in South Africa. You in New Zealand, Wynne?

That is right, even that we can use minify feature for to zin js, css files and move them into one place for faster loading