WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Plugins» How to Install and Setup W3 Total Cache for Beginners

How to Install and Setup W3 Total Cache for Beginners

Last updated on January 2nd, 2019 by Editorial Staff
430 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
How to Install and Setup W3 Total Cache for Beginners

We often get compliments from users on how fast our site loads. Everyone wants to know the secret behind a fast loading WordPress site. Aside from good web hosting and well-coded plugins, you have to make sure that you’re using proper caching and have a CDN (content delivery network). For our setup, we use a plugin called W3 Total Cache. Due to a high volume of request, we have decided to create a step by step guide on how to install and setup W3 Total Cache for beginners.

In this article, we will show you how to install W3 Total Cache and set it up properly to maximize the benefits. We will also show you how to combine W3 Total Cache wit ha CDN service to make your site load even faster.

Before you begin, we highly recommend that you check performance of your site by using Google Page Speed and Pingdom Tools. This will give you a before and after comparison.

Below is the screenshot of our Pingdom results:

WPBeginner Pingdom November 21st

Lets get started with our setup of W3 Total Cache.

Video Tutorial

Subscribe to WPBeginner

If you don’t like the video or need more instructions, then continue reading.

What is W3 Total Cache?

W3 Total Cache is the fastest and most complete WordPress performance optimization plugin. Trusted by many popular sites including: AT&T, Mashable, Smashing Magazine, WPBeginner, and millions others. W3 Total Cache improves the user experience of your site by improving your server performance, caching every aspect of your site, reducing the download times and providing transparent content delivery network (CDN) integration.

Installing W3 Total Cache in WordPress

Before you install W3 Total Cache, you need to make sure that you uninstall all other caching plugins (for example WP Super Cache). If you do not do this prior to installing, the plugin will have issues upon activation.

We have a very thorough guide explaining how to install a WordPress plugin which you can follow. Or you can follow the brief guide below:

Go to your WordPress admin panel and click on Plugins » Add New. Search for “W3 Total Cache” and you should see results like the image below:

Installing W3 Total Cache plugin for WordPress

Click on the Install Now button and then activate the plugin.

Settings and Configuration of W3 Total Cache

W3 Total Cache is a very powerful plugin, so it has tons of options. This could be a good thing or a bad thing. For those who know how to use these options, they are a gold mine. For most beginners, these options could be quite tricky and confusing. We will visit each of these options in detail, so you can properly set up W3 Total Cache. Lets start with general settings.

General Settings

You can go to the General Settings page by clicking on the Performance menu button in your WordPress admin panel. This is where you will set up the plugin by configuring basic settings. Make sure that you’re on the general settings page and not the promotional Dashboard page that this plugin has.

W3 Total Cache General Settings Page

What is Page Cache?

The first option that you see on this page is Page Cache. It is responsible for creating static cache pages for each page that is loaded, so it is not being dynamically loaded upon each page load. By having this enabled, you will significantly decrease your load time. Refer to the image below to see how Page cache works:

What is Page Cache?

As you can see normally when a user comes to your site, WordPress runs PHP scripts and MySQL queries to the database to find the requested page. Then PHP parses the data and generates a page. This process takes server resources. Having the page caching turned on, allows you to skip all that server load and show a cached copy of the page when a user requests it.

For shared hosting which most beginners use, the Disk:Enhanced method is highly recommended. You should check the Enable Page Cache box, and save all settings.

Setting up Page Cache in W3 Total Cache for WordPress

For most folks, this is all you need to do with page caching. Since this guide is for beginner level users we will skip the advanced settings of page caching because the default options are sufficient enough.

We will also skip through Minify, Database Cache, and Object Cache. The simple reason is because not all servers provide optimized results with these settings. Next option you will see is Browser Cache.

What is Browser Cache?

Every time a user visits a website, their web browser downloads all the images, CSS files, JavaScripts, and other static files in a temporary folder to enhance the user experience. This way when the same user goes to the next page, it will load much faster because all the static files are in their browser cache.

Browser Cache option in W3 Total Cache sets a time limit on the Browser Cache. Considering you don’t change your logo every day, having static files like that cached for 24 hours does not hurt you. Simply check the Enable under Browser Cache option and click Save all settings button. Once you have done that, then lets visit the Performance » Browser Cache page for more settings.

Setting up Browser Cache options in W3 Total Cache

As you can see in the image above, we pretty much enabled everything except for the 404. When you save the settings, all settings below on that page will automatically take care of itself.

In our free WordPress setups, these are the default settings that we turn on.

What is a CDN?

CDN stands for Content Delivery Network which allows you to serve your static content from multiple cloud servers rather than just one hosting server. This enables you to reduce server load and speed up your website.

We have created an infographic on What is a CDN and Why you Need a CDN for your WordPress site. We highly recommend that you check it out, so you can make an educated decision.

W3 Total Cache supports MaxCDN, Amazon S3, Rackspace Cloud, and Amazon Cloud Front. WPBeginner is using MaxCDN (why we use MaxCDN). This section will only apply to sites that are using CDN, or are planning on using CDN. If you think you will be using a CDN, then we recommend MaxCDN.

First thing you need to do to is create a Pull Zone in your MaxCDN dashboard. Log in to your MaxCDN account, click on Manage Zones and then click on Create Pull Zone button.

Configure W3 Total Cache - MaxCDN Settings

On the next screen you will be asked to provide details for your pull zone.

  • Pull Zone Name: Simply give any name to this pull zone so that you can identify it in your MaxCDN panel.
  • Origin Server URL: Enter your WordPress website’s URL starting with http:// and ending with a trailing slash / at the end.
  • Custom CDN Domain: enter any subdomain, for example: cdn.wpbeginner.com
  • Label: Provide description for this pull zone.
  • Compression: Enabling compression will save you bandwidth so it is highly recommended that you check this box.

A screenshot of how the above mentioned settings will look like:

MaxCDN Pull Zone Details

Click on the Create button and MaxCDN will create the Pull Zone. On the next screen, it will show you a URL like this one “wpb.wpbeginner.netdna-cdn.com” copy and save this URL in a text file using notepad because we will need this later.

Now that we have created a Pull Zone, the next step is to set up content zones. You can do this by going to your MaxCDN dashboard. Click on the manage button next to your pull zone that you just created. On the next screen, click on the Settings tab. The purpose of creating content zones is to add subdomains, so that we can improve user experience by queuing content from different subdomains into user’s browser. To do this click on the button labeled Custom Domains and add multiple subdomains. See the screenshot below:

MaxCDN Multiple Subdomains

Once you have added custom domains simply click on the Update button.

The next step is to set up CNAME records for the subdomains. Most of our recommended WordPress Hosting providers such as Hostgator, Bluehost, etc provide a cPanel to their clients to manage different settings of their hosting. We will describe how to set up a CNAME record in cPanel.

Log in to your cPanel dashboard and then click on Simple DNS Zone Editor under Domains.

Configure W3 Total Cache - Adding a CNAME Record

On the next screen you will see a form with two fields. Enter the subdomain name you entered while creating the content zone. For example you will put cdn for cdn.wpbeginnner.com.

cPanel will automatically fill in the full domain. In the CNAME field enter the URL provided by MaxCDN when you created the pull zone. It is the URL we asked you to save in notepad.

Configure W3 Total Cache - Adding a CNAME Record

Repeat the process for all your subdomains, e.g. cdn1, cdn2, etc. Remember that only the name field will change each time and the CNAME field always have the url provided by MaxCDN for your pull zone. Once you have created CNAME records for all subdomains, it is time to go back to WordPress and setup MaxCDN with W3 Total Cache.

Go to Performance » General Settings. Scroll down till you find CDN configuration box. Check Enable and select MaxCDN from CDN Type drop down menu. Click on Save All Settings button.

Enabling MaxCDN in W3 Total Cache

After saving settings you will see a notification informing you to provide information for “Authorization Key” and “Replace default hostname with” fields and select a pull zone. Click on “Specify it here” link and W3 Total Cache will take you to the CDN page.

W3 Total Cache specify settings for MaxCDN

On the next screen click on the Authorize button. This will take you to MaxCDN website where you will generate an authorization key. Copy and paste this key back in W3 Total Cache. In “Replace site’s host name with” enter the subdomain you created earlier.

Entering MaxCDN API key and setting up hostname in W3 Total Cache

Save all settings and that’s all. Your site is now configured to serve static files using MaxCDN. Now if you load your site, the image URLs should be served from the CDN subdomain rather than your site’s actual domain. For example:

https://www.wpbeginner.com/wp-content/uploads/2010/08/w3totalcachecdnconfig.gif

would be replaced with:

http://cdn.wpbeginner.com/wp-content/uploads/2010/08/w3totalcachecdnconfig.gif

Now if any of your static files are not loading with the CDN, then it probably means that you will need to specify it in the custom files list setting in W3 Total Cache. We had to do it for OIO Publisher plugin that we use for serving ads. If you go to the CDN settings page, you will see the Advanced option:

Advance CDN settings in W3 Total Cache

Simply add all the files/folders that you want to include for CDN. Also if you notice, there is a rejected file list. When you make a small design update, your style.css will not update right away. So you can put that in a rejected file list for the time that you are making changes. If you just want a one-time purge, you can do that from your MaxCDN dashboard.

Everything that we have covered up till now, will work great on most web hosting accounts. However, W3 Total Cache comes with many other options. We will try our best to explain what they are, and why we do not enable them on all sites.

Minify

Minify simply reduce the size of your static files to save you every single kilobyte that you can. However, sometimes generating that minified file can be more resource intensive then the resource it will save. We are not saying that it is a horrible function. We are simply saying that it might not be the best fit for every server. We have heard numerous users complaining about it, and our host (HostGator) recommended us to leave this off. If you are like us (NOT SAVVY with server lingo), then listen to your web hosting provider.

Database Caching

Database caching reduces the server load by caching SQL queries. This eliminates the processing time of querying the database (which may not be a lot for smaller sites). When we started using this, it seemed to put a lot of load on our server. Our host recommended us to turn it off. Instead, they ended up turning on the built-in SQL caching for us. Again, use this option at your own risk. You can try it out and see how it impacts your site load time. Then simply turn it off, if the impact is not significant enough. Most hosts do not recommend this for shared hosting accounts.

Object Caching

If you have a highly dynamic site, then using the Object Caching will help. This is mainly used if you have complex database queries that are expensive to regenerate. For most beginners, ignore it.

Now that you have everything setup, it is best to create a backup for your W3 Total Cache Configuration. After all, we went through a lot in this article. You will need to come back to your W3 Total Cache’s General Settings Page. There is a section for Import / Export Settings. Click to Download the settings file from your server.

We hope that you found this article useful. For those users who are still not sold on the concept of CDN, we highly recommend you give it a shot. CDN works with your web host to decrease server load and increase site performance. We are using MaxCDN and we recommend you to do the same. (Try them for just a month, and you will see why we recommend them).

If you have any questions, then please feel free to ask in the comments below.

430 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

  • Google Analytics in WordPress

    How to Install Google Analytics in WordPress for Beginners

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • How to Fix the Error Establishing a Database Connection in WordPress

    How to Fix the Error Establishing a Database Connection in WordPress

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

159 Comments

Leave a Reply
  1. hisweeto says:
    Jan 29, 2015 at 11:50 am

    after installation of W3TC i cant upload imgs from my web profile page .. please help

    Reply
  2. Manolis says:
    Jan 28, 2015 at 3:06 pm

    hi,
    how i can restore my settings to default? how i can restore the redirect of cdn.mydomain.com to my default domain name???

    Reply
  3. Ashutosh Kumar Gupta says:
    Dec 9, 2014 at 6:24 am

    I have recently uploaded wordpress in two new sites. While configuring w3 total cache, I am cannot enable page cache after so many attempts. Other websites are working fine.

    Reply
  4. Hansjörg Leichsenring says:
    Dec 3, 2014 at 10:38 am

    Hi, do you have any tipps of how to make W3 Total Cache and AdRotate work together? It seems to be a horrible Task.
    Cheers from Germany
    Hansjörg

    Reply
  5. WPBeginner Staff says:
    Dec 2, 2014 at 5:18 pm

    You can add your shopping cart page as an exception in w3 total cache. Under Performance > Page Cache scroll down to advanced section where you will find the option ‘Never cache the following pages’. For example, if your eCommerce plugin uses a page cart for checkout, then simply enter “cart/” to exclude that page or “cart/*” to exclude that page and all sub-pages. (Without the quotes, of course.)

    Reply
  6. Marou Wing says:
    Dec 2, 2014 at 8:26 am

    Hi Guys, thank you for the awesome article, it made my site much faster than before! However I have encountered with a little issue. My site has webshop and the checkout page (due to the Credit Card payment option) has https (I have my own SSL hosted by RapidSSL). So the checkout page (I assume because of the SSL is totally messed up when the W3TotalCache is enabled, no formats, no pictures, no colours only text…) How can I fix this issue, do you have any recommendation? Thank you, Marou

    Reply
  7. WPBeginner Staff says:
    Nov 21, 2014 at 2:21 pm

    We haven’t noticed any significant conflicts on any of our websites where we use it. Even then, if you come across a conflict then notify the plugin author by using the support tab on the plugin’s page.

    Reply
  8. adeem jan says:
    Nov 20, 2014 at 2:31 pm

    Thanks for writing this tutorial on how to setup and decrease a blog load time using W3 total cache.

    I use this same plugin on one of my blogs, the resulting speed of the blog is awesome.

    Although, i have seen many people complain about this plugin that it sometimes conflict with other wordpress plugins.

    I don’t know if you have experienced this in person?

    Reply
  9. Roger Phillips says:
    Nov 7, 2014 at 12:30 am

    Hi thanks for the video I enjoyed it, I’ve used w3 total cache for over 5 years on all four of my personal sites and I honestly have to say I’ve alway had better luck 90% of the time using it right out of the box, less likely to break other function that way. Kind of the risk vrs rewards factor and that normally persuades me to just use it out of the box. After watching this video and decided to give the settings you requested a try, You helped me out quite a bit. My site went up in speed from 82% to 97% page speed, and yslow score went from 72% to 93%, thanks for the setting can’t wait to try them on my other sites!
    Fish

    Reply
  10. Arif Ahmed says:
    Oct 18, 2014 at 8:57 am

    I used W3 cache through my developer. My site was acting weirdly, it does not load properly on first instance and when I refresh the page it is loaded properly. This happens with every page. When I told my developer, he told me that it because my internet speed is slow and the page is not able to serve from cache. So why is this happening ? Any clue

    Reply
  11. Rachael says:
    Sep 27, 2014 at 12:31 pm

    Like the previous person Ss, I am new to WP and I followed this plugin tutorial video (aside from the minify, CDN stuff). I got the same message at the top of my pages in wp admin: “The setting change(s) made either invalidate the cached data or modify the behavior of the site. now to provide a consistent user experience. ” Why did this happen and Should I dismiss it or click on the empty cache button? Help, Please!

    Reply
  12. imssarl says:
    Sep 23, 2014 at 11:56 am

    I installed that way, but my site design is all messed. I have my blog installed on a subdomain: blog.mydomain.com ; what should I set for the cdn? cdn.blog.mydomain.com?

    Reply
    • Jimmy says:
      Oct 14, 2014 at 8:07 am

      Yes, that’s how you do it. But I would prefer example.com/blog/ for better SEO.

      Reply
  13. Salud Casera says:
    Aug 30, 2014 at 6:15 pm

    I followed the instructions for beginners and all it tooks was three clicks to set it all up (if you are not using CDN). It would be good to have a more advanced version of this post.

    Edit : After testing for speed, it only made my website slower.

    Reply
  14. bemed says:
    Aug 18, 2014 at 5:52 am

    I mean I installed W3 Total Cache on the Network Admin but it does not show on the website that I want it to be active.
    Does it handles multi-site installations or it only works individually?

    Reply
  15. bemed says:
    Aug 18, 2014 at 5:49 am

    Hoe does it work on a multi site installation?

    Reply
  16. WPBeginner Staff says:
    Aug 1, 2014 at 5:58 pm

    Take a look at this URL:

    http://site1.example.com

    In this URL site1 is a subdomain of example.com

    Reply
  17. Macca Sherifi says:
    Jul 30, 2014 at 1:49 pm

    Hi guys,

    Great article, but what exactly do you mean about the subdomains? Any info would be appreciated!

    Cheers,

    Macca

    Reply
  18. Chad Rogez says:
    Jul 11, 2014 at 4:56 pm

    That was just what I needed. Made the setup much easier and the details allowed me to understand what the purpose of each function was. Thanks for the details!

    Reply
  19. Kristine says:
    Jul 2, 2014 at 7:56 pm

    Hi, thank you for the tips! I read on some blog, they check all the setting (minify, database cache, etc) without explain what the function does..

    Just setup my w3 today :)

    Reply
  20. Ashutosh Bhardwaj says:
    Jun 26, 2014 at 5:33 am

    Hi, This was a great step guid, well i was searching something like disabling w3tc adding query string to my images inserted in post. Actually it breaks the lightbox effect. There seems to be not an option on panel
    Anyway Gud Post

    Reply
  21. md says:
    Jun 23, 2014 at 4:41 pm

    This was extremely helpful. W3TC has some of the most non-intuitive settings I have ever seen.

    Reply
  22. Ss says:
    May 14, 2014 at 10:03 am

    Thanks for this tut, I’m pretty new to wp and all this helps a great deal! I installed and activated this plugin as per your post (aside for the CDN part). However the following message appears at the top of all pages in wp admin: “The setting change(s) made either invalidate the cached data or modify the behavior of the site. now to provide a consistent user experience. ”
    Should I dismiss this or click on the empty page cache button?

    Reply
  23. Erin Singh says:
    May 12, 2014 at 10:50 pm

    Thank you for posting this tutorial. The W3 Total Cache that I installed displays this General Setting. Does this General Setting need to be enabled as well?

    Reply
  24. Craig says:
    Apr 22, 2014 at 2:28 pm

    Very helpful post! Been using W3TC for quite awhile, but configuring a CDN can be a little tricky. This guide made it a breeze. Thank you! :)

    Reply
  25. Fauzul says:
    Apr 14, 2014 at 4:03 am

    Luckily found this short tutorial, my blog page load increased severely after setting up the caches. Now I know better what to turn on and what cache to leave disabled. On shared hosting, in my opinion it’s only good to turn on page cache and browser cache.

    Now going to try it with a CDN. Hopefully things can improve further.

    Reply
  26. Susan says:
    Apr 4, 2014 at 8:21 pm

    Hi,

    I using a wp multi site install and Cloudflare but I just cannot find any instructions on how to configure W3.

    When activated network wide there is nowhere to add individual distributions for each sub domain.

    Or else I’m missing something!

    Any help is much appreciated

    cheers

    Reply
    • WPBeginner Support says:
      Apr 4, 2014 at 11:56 pm

      You will find CloudFlare available as an extension under Performance » Extensions. After activating CloudFlare extension you will be able to see its settings.

      Reply
      • Ejaz Khan says:
        Apr 14, 2014 at 6:33 am

        Thanks!

        Reply
  27. Sharon says:
    Mar 27, 2014 at 12:30 am

    Awesome article! Just what I was looking for – my site is on Hostgator and I’d love to use both W3 Total Cache and Max CDN. Perfect.

    BUT I got lost at the point of creating subdomains. I just don’t understand what that means or how to create one. Just make one up? Find one somewhere on my site. Very confused.

    My site is slow – it gets a C at best on GTMetrixs, and I’m preparing to do a big campaign. I need help.

    Do ya’ll offer support services? I saw that you do free blog set ups. Would accept payment to help set these up for me?

    Sharon

    Reply
    • avgjoegeek says:
      May 4, 2014 at 12:34 am

      Sharon – dunno if you received help on this or not? Feel free to contact me if its still not resolved.

      Reply
  28. Mike Hirst says:
    Mar 19, 2014 at 4:46 pm

    Thanks so much for this article. My site is blazing fast now!

    Reply
  29. Zubair says:
    Mar 18, 2014 at 6:59 am

    Hi ! its a nice plugin . but i installed WP Fastest cache instead , so now i am facing a little problem with this . i have used contact form 7 with really simple captcha but after installing the WP Fastest Cache the captcha image is broken in the website. so how to get rid of this or if i install w3tc will i overcome this problem.

    Regards

    Zubair

    Reply
    • Ashutosh Bhardwaj says:
      Jun 26, 2014 at 5:36 am

      That might be the reason, because in order to make everything cachable, ur plugin might have added a query string as suffix to image name, and it broke.
      Ask plugin support, they will help for sure

      Reply
  30. Philip Verghese Ariel says:
    Mar 5, 2014 at 12:41 am

    Hi Admin & Syed Balkhi.
    What a pleasant land here.
    I am really in search of such a page
    since I am new to this platform called WP :-)
    Recently i created (migrated) my blogger page here with the help of one of my blogger friends. Now I am here via Arun’s page here at WP, and found this place is a good place for a WP beginner like me :-) I think this looks like a bit advanced page to me, so i am going
    to your Archives WPBEGINNER ARCHIVES” to find some basic lessons :-)
    Anyways I will be here to look and study around :-)
    Thanks a lot for all your efforts to put these lessons in a systematic way.
    I am bookmarking this page.
    Have a wonderful time.
    Best Regards
    Philip

    Reply
  31. Alex says:
    Mar 2, 2014 at 3:22 pm

    thanks guys for your awesome job.

    In the dashboard W3 gives a tip to upgrade to Pro for $99. However all the functions you described can be checked without upgrade.

    Then what this upgrade is for? – should i go ahead and purchase the upgrade?

    Reply
    • avgjoegeek says:
      May 4, 2014 at 12:35 am

      That is for their “Pro” Service. If you use Genesis framework they will offer additional ‘special’ caching and monitoring to help speed up your site more. Most people do not need this.

      Reply
    • Ashutosh Bhardwaj says:
      Jun 26, 2014 at 5:38 am

      So u need not purchase it simple ;-)

      Reply
  32. Carla says:
    Feb 22, 2014 at 11:36 pm

    I’ve been trying to set up this plugin for ages. I just left the default settings and it was very helpful. Now that I have additional settings checked, my site is super speedy. Thanks so much! I did not set the CDN though because I have ClourFlare enbaled.

    Reply
  33. David Geer says:
    Feb 18, 2014 at 9:13 am

    I am at the step where I configure the CDN section in W3TC. I added cdn.davidgeer.com and clicked add cname. It added it and said it was reserved for CSS. Then another field popped up to add another CNAME and it said it is reserved for js in . Should I keep adding each of my consecutive cnames to the available cname fields that pop up here in W3TC and then save settings?

    Reply
    • WPBeginner Support says:
      Feb 19, 2014 at 12:58 am

      You need to add CNAMEs you created with MAX CDN.

      Reply
      • Adam Lindsey says:
        Feb 27, 2014 at 6:45 pm

        I seem to be having an issue as well. There is the long CNAME url.url.netdna.cdn.com that works, but if I use the cdn.tnmedia.com, cdn1.tnmedia.com, etc. It doesn’t work. Isn’t it better to have JS files pulling form one subdomain and have another pulled form a different one or am I way off base here?

        Reply
  34. Joe DeCaro says:
    Jan 31, 2014 at 12:42 pm

    I love your site. I installed W3TC and set it up as you suggested. I’m on shared hosting. Now that it is installed, I’m getting emails from readers saying they can’t see our latest posts as they go up.

    Did I do something wrong?

    I set the browser cache settings step by step as you advised.

    What may have cause this new issue for my readers since installing the W3?

    Thanks.

    My site is MetsmerizedOnline.com

    Reply
  35. Osnilton Mozarino says:
    Jan 27, 2014 at 4:09 pm

    Thanks for the great article!!! As usual very well written and informative.
    Question: I now have a pretty clear idea about CDN, however for a regional or national only web site, will it still be benefitial to use it, as the hosting server(s) are already in the main cities, say close enough? As it seems to be a great thing for international web sites.
    Thank you

    Reply
    • WPBeginner Support says:
      Feb 6, 2014 at 10:03 pm

      Yes if u live in a big country like US. If you are in a small country then no.

      Reply
  36. Himanshu Goel says:
    Jan 22, 2014 at 5:22 am

    Hey I have tried installing and managing with this plugin and I don’t own a cdn. do this plugin works with cdn better or we can try some extra efforts in settings to make this work better without cdn.

    Should we actually use caching plugin if we are not running up with cdn services (I am involving every cache plugin)

    Reply
    • WPBeginner Support says:
      Jan 22, 2014 at 12:00 pm

      W3 Total Caches works without CDN and is still very useful. However, using a CDN service will further boost your page load time.

      Reply
  37. Zalmey says:
    Jan 20, 2014 at 1:48 pm

    My Question is that, will I get better performance from W3TC without MaxCDN & CloudFlare. Does anyone using it with these 2 and having a good load time?

    Reply
    • avgjoegeek says:
      May 4, 2014 at 12:37 am

      If setup properly? W3TC/MaxCDN and Cloudflare can significantly speed up your website.

      I used W3TC to configure to use MaxCDN. Then did a manual install for CloudFlare, You don’t need to configure it within W3TC. And it is fast… very fast once it’s all setup!

      Reply
  38. Andy Crichton says:
    Jan 4, 2014 at 6:49 am

    Great article. I know just about enough to get myself in trouble, so I did ask the MaxCDN guys a lot of questions before and during setup. I asked a couple of times about the subdomains, I said it sounds cool and logical to have the 4 extra to serve certain files “instantly” – they said the difference in delivery is almost non existent, like 10ms. So I havent bothered. Have you really seen a significant difference with / without the 4 subdomains at work?

    thanks

    PS I didnt know about your affiiation before I signed up to MaxCDN, but anyone reading, wow, the company is brilliant! There was an issue with my forum plugin – when the CDN was installed, the theme broke if you did a quote, and also members couldnt login. MaxCDN analysed it and I gave them admin access and they sorted it. Also the delivery of the site (hosted in Colorado) now in Europe is down from 4 secs to 1.5 according to pingdom.

    Reply
    • WPBeginner Support says:
      Jan 6, 2014 at 3:47 pm

      Andy, its up to you, we would say that every millisecond counts.

      Reply
  39. Sherif says:
    Dec 20, 2013 at 6:16 pm

    Hi,

    Thanks for your time writing this, it is very helpful and i setup W3TC but after that i started getting a strange error about database connection lost every time i try to post new post or edit and existing one,any clue what should i do or where to start looking around

    If i disabled the plugin, this error message is not showing any more and i am able to post normally

    Sherif

    Reply
    • WPBeginner Support says:
      Dec 21, 2013 at 2:57 pm

      Try turning off Database Caching, if that does not work, then you can try to optimize your WordPress database using phpMyAdmin.

      Reply
  40. Donna Caissie says:
    Dec 11, 2013 at 2:13 pm

    I installed Total Cache several weeks ago, and since then, using my backend has been a nightmare. Every time I tried to do anything in the backend, my browser (Firefox) would hang. I finally deactivated Total Cache today, and now my backend works just ducky.

    Reply
  41. Hayslan says:
    Dec 4, 2013 at 4:20 pm

    Hey guys, what do you think of leaving somewhere in the post – maybe at the end, a ‘log’ of what section / topic went updated?

    A long time ago I read this article and now for example I have no idea at what point it went updated.

    Would not it be helpful? Let me know!

    Reply
  42. Cynic says:
    Nov 27, 2013 at 5:06 am

    Great article. Thanks for sharing.

    Reply
  43. Savvas says:
    Nov 26, 2013 at 1:00 pm

    Does it work ok with wp multisite??

    Reply
    • WPBeginner Support says:
      Nov 27, 2013 at 9:25 am

      w3 total cache supports multisite

      Reply
  44. Steve says:
    Nov 26, 2013 at 11:17 am

    I’ve tried several times to install caching plugins (both W3 Total Cache and WP Super Cache) and in every case, my overall site performance takes a major hit as soon as the plugin is activated/configured.

    This time, I followed the instructions to the letter as shown above. However (as has occurred in every other time I’ve tried), load time throughout the site has at least tripled.

    The one thing I didn’t do in every case is get a CDN, due to the cost involved.

    So my question is this.. do the caching plugins only work in conjunction with a CDN?

    If so, is there any other way to speed up performance (aside from the obvious – removing plugins, etc). I use WP Optimize regularly.

    Reply
    • WPBeginner Support says:
      Nov 27, 2013 at 9:30 am

      There could be some server configuration problem on your host’s end.

      Reply
      • Steve says:
        Nov 28, 2013 at 3:56 pm

        Could you give me more details on what to ask about? My hosting service service is usually good about that sort of thing, but I’d need to know specifically what to ask about.

        Reply
        • Andrew says:
          Dec 5, 2013 at 3:50 pm

          Turn off database caching if you are on shared hosting, it will bring your speed back up.

  45. Abhisek says:
    Nov 22, 2013 at 9:23 pm

    I am planning to go for maxCDN but, i have a dilemma that, i use a sub-domain to store all my media files something like this – media.example.com. As a result Wp-Smush it plugin no more works and i have to compress images myself using png-gauntlet software in windows. Will this sub-domain also create any problem in switching to maxCDN ?

    Reply
  46. Manasseh Copinger says:
    Nov 22, 2013 at 9:28 am

    Great post really like every single post from you.

    Reply
  47. Shahraar Khan says:
    Nov 22, 2013 at 1:57 am

    Very nice tutorial . But I personally like wp Super cache

    Reply
  48. Jeremy Myers says:
    Nov 21, 2013 at 3:15 pm

    First, where is your “after” screen shot from Pingdom? That “before” test was pretty dang good, and I am curious to see if it actually improved.

    Second, I have done a lot of testing between W3 Total Cache and WP Super Cache. I agree with W3 has more options and seems to be a better plugin, but with W3, my server response time nearly tripled! It went from about .25 seconds to almost a full second. Why is this?

    Third, what about Cloudflare integration? Any suggestions one way or the other?

    Reply
    • Denise Blackman says:
      Nov 24, 2013 at 11:14 pm

      Hi Jeremy. I don’t have the answer to the increased response time of your server with W3, but I had the same problem. Mine, however, was even more severe, with an increase to almost 1.25 sec. I wish someone could answer this. My host provider has no answer either. My personal guess is that the server that is hosting my account, which is a shared server, is over taxed. It is normally what happens when an account suddenly has major performance issues.

      In reference to CloudFlare, I have tried to integrate it, but had problems with my theme. I had to disable it. It made way too many changes to my CSS. I don’t know a lot about CloudFlare, and it sounded great. I just couldn’t figure out a way to make it work with my theme at all.

      Reply
  49. Dmitriy says:
    Nov 21, 2013 at 1:06 pm

    Great article, very detailed!
    If someone has any questions regarding MaxCDN feel free to ask me.

    Thank you

    Reply
    • Alex says:
      Mar 2, 2014 at 3:26 pm

      Dmitry,

      Due to localized business activity my website is set for a specific location, Moscow Russia. That said I don’t expect people from other cities to bother me. Do you think I still should go for the MaxCDN?

      Thanks

      Reply
  50. Raghu says:
    Nov 21, 2013 at 10:10 am

    One more step for MaxCDN : Add noindex to cdn contents to prevent Google from indexing CDN contents which will create duplicate content issues.

    It’s under Zones > Pull zones > SEO

    Check enable and use custom robots (with default code for robots.txt)

    Reply
    • Alex says:
      Mar 2, 2014 at 3:30 pm

      Raghu,

      thanks for the heads-up. Do you mean I need to edit robots.txt or there are just default options that I need to check in Zones > Pull zones > SEO section?

      The necessity to touch robots.txt kind of scares me as I am not a coder.

      thanks

      Reply
1 2 3 »

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
RafflePress - WordPress Giveaway and Contest Plugin
RafflePress
Giveaway and Contest Plugin for WordPress. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2020 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2020)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2020)
    • SiteGround Reviews from 4196 Users & Our Experts (2020)
    • Bluehost Review from Real Users + Performance Stats (2020)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2020 – Step by Step Guide
Deals & Coupons (view all)
Shop Plugins
Shop Plugins Coupon
Get 15% OFF on Shop Plugins WordPress WooCommerce plugins.
Visual Composer
Visual Composer Coupon
Get 20% OFF on Visual Composer WordPress page builder plugin.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).
Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress CDN by MaxCDN | WordPress Security by Sucuri.