Practical & Research-Based Ways To Make Websites & Capture Customers

Ideal W3 Total Cache Settings For Shared Hosting. Ok’ed By W3TC Team.

Do you want to make your site 10 times faster?

No problem.

w3-total-cache-settings-speed-up-wordpress

Here’s what I’m going to cover in this post, to help you speed up your WordPress site:

  1. Why site performance and speed is important.
  2. Why you must use a caching plugin.
  3. What options are available for WordPress caching plugins.
  4. Why W3 Total Cache is the best WordPress caching plugin.
  5. The ideal W3 Total Cache Settings for people on shared hosting, which I’ve run by the W3TC support team.
  6. A file containing W3 Total Cache Settings, which you can simply import for your website to have everything setup right away.

Nowadays it is imperative that you do whatever is possible to speed up your WordPress website because it provides a better experience for your visitors and Google is using site speed as a factor for search engine rankings. For people on shared hosting, it is especially important, since a small/sudden increase in traffic can choke your site. And none of us want that.

You can increase your site speed and performance quite easily though, by using a good WordPress caching plugin. The most popular options available are:

Itried using WP Super Cache twice but it messed up my site design. Hyper Cache and Quick Cache, I haven’t used, so can’t really comment on them. What I can say, is that I use W3 Total cache on all my sites and it is super. It has the most comprehensive set of features amongst all the caching plugins and is recommended by a number of people I trust, including Yoast (W3 Total Cache and why you should be using it) and Headway Themes (Using W3 Total Cache).

When I first saw all the settings available in W3 Total Cache, I was quite overwhelmed. I didn’t know what most of them meant back then (and still don’t know what many of them mean :) ).

So I read articles and saw a few videos explaining the best settings for W3 Total Cache and setup the plugin on my websites, based on that.

But I still wasn’t sure if I had setup the plugin correctly and if I could do anything else to make it work better. To close the matter once and for all, I decided to avail of the service provided by W3 Total Cache, where one of their professionals would review and optimise my settings.

After all of that, my setup works quite well now. So let me take you through the settings I’m using for websites using shared hosting (I use Bluehost as my web hosting provider).

General

w3 total cache settings - general1

w3 total cache settings - general2

 

Minifying reduces the size of JS and CSS files, which run scripts and style sheets. W3 Total Cache lets you specify which files you want to minify (which would be very useful if I knew which files I should minify).

I tried many permutations and combinations but could not get this to work, without breaking my site. The W3TC support staff made it work for me by selecting just 3-4 files but after a while that didn’t work either (probably due to plugin updates).

When I tested my site speed with and without Minify, there was hardly any difference. So I think it’s not worth the headache and I just leave it off.

w3 total cache settings - general3

Initially I had Database and Object Caching enabled. But the advice I received was that often on shared hosting it is better to keep them off. That turned out to be true for me and my site is faster without them.

w3 total cache settings - general5

A Content Delivery Network (CDN) increases website speed by hosting files on many different servers around the world, which spreads the load and uses servers closest to a particular visitor.

I use MaxCDN and here are the instructions for installing and integrating it with W3TC. It is a paid service though and if you don’t want that, an alternative is to use CloudFlare, which has a free option.

w3 total cache settings - general6
w3 total cache settings - general7

In case you go with CloudFlare, you will need to configure the settings above. Since I’m using MaxCDN I leave them blank.

w3 total cache settings - general8
Page Cache
w3 total cache settings - pagecache1
w3 total cache settings - pagecache2
w3 total cache settings - pagecache3
w3 total cache settings - pagecache4
w3 total cache settings - pagecache5
Browser Cache
w3 total cache settings - browser cache1
w3 total cache settings - browser cache2
w3 total cache settings - browser cache3
w3 total cache settings - browser cache4

In many W3 Total Cache configuration tutorials on the web, people have the entity tag (eTag) enabled. I did too, till Frederick Townes (the man behind W3TC) suggested I remove it. Here is our Twitter conversation.

w3 total cache settings - speed up wordpress - frederick townes twitter conversation

User Agent Groups
w3 total cache settings - useragentgroups1
w3 total cache settings - useragentgroups2

These are the default settings.

Referrer Groups
w3 total cache settings - referrergroups

These are the default settings.

CDN
w3 total cache settings - cdn

If you use a CDN, you’ll also need to enter your login details in the CDN settings screen. The rest of the settings can be left as-is.

To make life even easier for you, here is a file with all these W3 Total Cache settings (right click > save link as), that you can simply import (in the end of ‘General’ settings screen) so you have everything setup right away

Written By: Amit

Amit is an entrepreneur, online marketer and career advisor. In a previous life, he's worked with Bain, Morgan Stanley and Citigroup. Amit has masters degrees in Business, Finance and Organisational Psychology.

  • http://technicallyeasy.net/ Technically Easy

    Great detailed explanation for use W3 Total Cache.  I used W3TC for over a few years, but have switch to Quick Cache to see what that plugin is like.  While I did have a few issues with W3 Total Cache, it is a great plugin and will probably go back to it. I like how the developers took the time to integrate it with CDNs and CloudFlare. It makes life easier for those that use the services.

    • http://www.kidnapcustomers.com/ Amit – kidnap customers

       @Technically Easy technicallyeasy What did you think of Quick Cache? I agree – the w3edge team has made a comprehensive plugin & they’re quite responsive with support on various forums also.

      • http://technicallyeasy.net/ Technically Easy

          I didn’t really notice a huge difference with Quick Cache.  It was easier to setup as it didn’t have all the options, but I decided to go back to W3 Total Cache.@Amit – kidnap customers

  • http://www.dragonblogger.com/ Dragon Blogger

    Good setting recommendations and spot on in every category, CDN is the biggest performance boost I found and let it host your .css and .js files to save even more time.  I had my site up to a 92/100 Google Web PageCheck speed with this combo but slipped down a bit when adding some extra social media icons.

    • http://www.kidnapcustomers.com/ Amit – kidnap customers

      @dragonblogger  Thanks for the feedback Justin. My Page Speed score is about the same, after using these W3 Total Cache Settings.

  • http://tjosm.com/ Tharindu Kumara

    Thanks for the great info, But I still believe it’s too mush work for someone who just getting started. I think plugins like WP Super Cache and Hyper Cache best suit for shared environment. For VPS it’s just W3 Total Cache

    • http://www.kidnapcustomers.com/ Amit

      You’re welcome Tharindu.

      I can certainly imagine W3 Total Cache being a bit intimidating for people just starting out with WordPress. When I tried it the first time I deactivated it soon after installing. But I’m glad I gave it another shot :)

  • http://deluxejournal.com/ Otobong Colby

    After following this settings I get 500 Internal Server Error from my site when browsing

    • http://www.kidnapcustomers.com/ Amit

      Hi Otobong,

      Hard to say what’s causing the error. Often it’s conflict with another plugin, something to do with your hosting provider, or just some obscure setting somewhere.

      I would suggest contacting the W3 Total cache team via email or Twitter. They should be able to help sort things out quick.

  • Ivan

    Hello, thank you so much for this tutoria. I am following your instructions and i have a problem with the Rejected User Agents list of Page Cache. I see that list blank. Where did you get it?

    • http://www.kidnapcustomers.com/ Amit

      Hi Ivan,

      That should appear by default. If you shoot me an email using the contact form on this website, I’ll send the list I have in my settings.

      • http://www.beforethecross.com/ Mike Mobley

        I will e-mail you as well on this for the list. Great post on this setup! Thanks so much!

  • LTC

    Hi Amit, I use bluehost as my server and wanted to install W3TC on one of my sites, but was told by bluehost that I couldn’t do it because it doesn’t have the capability to cache to disk (the option that you said to leave unchecked). So the W3TC still works for your sites hosted on bluehost with no issues? I am just nervous to activate it…thanks a lot! Your post was very helpful and one of the few that talked about W3TC used on a bluehost server.
    LTC

    • http://www.kidnapcustomers.com/ Amit

      Hi LTC,

      Yup – W3 Total Cache works perfectly on my sites hosted with Bluehost.

  • http://webloggerz.com/ anshit

    extremely well written and described

    • http://www.kidnapcustomers.com/ Amit

      Thanks anshit!

  • Calixus

    Thank you for this tutorial, the best one i found! very clear

    • http://www.kidnapcustomers.com/ Amit

      You’re welcome Calixus. Glad to be of service and that you liked my W3 Total Cache tutorial :) .

  • http://hcgchica.com/ Rayzel Lam

    Thank you for the share.. My site’s speed indeed improve

    • http://www.kidnapcustomers.com/ Amit

      Great to know that Rayzel…

  • MJ

    A valuable piece of information that i didn’t find anywhere else. liked it.

    • http://www.kidnapcustomers.com/ Amit

      Thanks MJ!

  • http://www.beforethecross.com/ Mike Mobley

    I’ve noticed after following these settings, on Google Page Speed, I now have “Minimize Redirects” as one of the high priority things to take care of. What can I change in these settings to remove that? Just wasn’t sure and didn’t want to mess anything up. Everything else has been working great!

  • Marc

    Hey Amit, thanks so much for this guide. Can you please check the link “a file with all these W3….” because when I download it, it is 0 bytes in size. Thanks!
    Marc

    • http://www.kidnapcustomers.com/ Amit

      My pleasure Mark. I checked and it’s working. Must’ve been a temporary glitch of some sort. The wonders of technology ;)

  • http://www.facebook.com/wilandria.noer Wilandria Noer

    Thanks so much! This helps me a lot.

    • http://www.kidnapcustomers.com/ Amit

      Most welcome Wilandria

  • Steve

    I have Bluehost and just followed your instructions. I have a little improvement in speed. I would not have tried W3 without these instructions!! Thank you

    • http://www.kidnapcustomers.com/ Amit

      You’re welcome Steve. I’m happy that you found the article useful

  • http://www.comoganhardinheironet.com/ Josué Mota

    Amit,
    Congratulations for providing a tutorial so well prepared. Thanks also for the configuration file plugin ready.
    I wish success to you!
    Acts Joshua Mota

    • http://www.kidnapcustomers.com/ Amit

      Thank you very much! :)

  • Sean

    Great psot Amit. Can I suggest you put at the very beginning of your post the point about having the settings for download? I just spent the last 20 minutes making sure I had all this perfectly as displayed. Then I saw your note at the bottom. Bust.

    • http://www.kidnapcustomers.com/ Amit

      Thank you Sean, for your feedback and the suggestion. I’ll get around to doing that at some point :)

  • http://twitter.com/MichaelGKeating MichaelGeorgeKeating

    Thanks for the post Amit. It was extremely helpful for my site. Just a heads up for those using the plugin, be sure to properly delete the plugin to ensure you don’t get infinite loops and other errors. I deleted the plugin improperly and had a ton of issues!

  • http://twitter.com/GoogleThat_Shit GoogleThatShit

    I followed this tutorial on my site and it worked wonderfully, except I am experiencing errors in minifying my urls. It mentions something with Apache or my htaccess. Anyone else have a problem when minifying?