Best W3 Total Cache Settings- Boost Your WordPress Website Pagespeed

Hello Friends, In this blog post I will be discussing about W3 Total Cache and how you can increase your website speed by configuring W3 Total Cache properly. W3TC is an awesome plugin but most of the WordPress bloggers (both professional as well as beginners) find it little complicated and tricky to set up as compared to other speed optimization plugins.

If configured properly this can supercharge your blog speed but if configured incorrectly then this can even break your blog completely. So to help you I have  decided to write this “How to Guide on W3TC” . I will also share screenshots  so that you can configure W3TC easily. But before starting the tutorial let me tell you in brief about W3 Total Cache and why it is the better than other speed optimization plugin in the market?

What Is W3 Total Cache?

There are many WordPress Plugins for speed optimization like Super Cache, Hyper Cache, Quick Cache, Fastest Cache and so on but no one can come close to W3 Total cache. W3 Total Cache is a powerful speed optimization plugin which not only improves your website speed but also saves your bandwidth to a large extent. Increase in website speed leads to higher rankings in Search engines, higher conversion rate, provides customer satisfaction and most importantly it will help in reducing bounce rate on your blog.

Important Features Of W3 Total Cache Plugin:

  • Compatible with shared web hosting,vps web hosting and dedicated hosting
  • Minification of CSS,HTML and JavaScript
  • Minification of posts and pages and feeds
  • Content delivery network support.
  • Add EXpiresHeaders And Etags On Your Blog
  • Page Cache
  • Database Cache
  • Browser Cache
  • Object Cache

Also Check: 5 Best WordPress SEO Plugins

Why W3 Total Cache Is Better Than Other Speed Optimization Plugins?

W3 Total Cache is recommended by popular web hosting companies like Bluehost, Hostgator, JustHost,Dreamhost,Godaddy and many more.  Yoast, StudioPress, WPBeginner, John Chow,Mashable, CSS-Tricks are some of the  popular WordPress blogs which are using W3TC on their blogs.

I have also been using W3 Total Cache Plugin on Affiliate Nova from last 7-8 months and in my opinion W3TC is best in the business.You just need to set up it properly and it will supercharge your blog speed.  So If you want to improve your website speed then I would recommend you to Install W3 Total Cache on your blog.

Increase WordPress Speed By Using Best W3 Total Cache Settings
Increase WordPress Speed By Using Best W3 Total Cache Settings

 

Note: Before you begin, please make sure that you are not using another Cache plugin on your blog as W3 Total Cache is not compatible with other cache plugins like Super Cache,HyperCache etc. For checking your website speed performance I recommend GTMetrix or Pingdom.  Alright without wasting any time let’s start the tutorial.

How To Install And Configure W3 Total Cache Plugin Properly?

  • Step 1: Install W3 Total Cache Plugin

First of all you will have to install W3 Total Cache Plugin on your blog. You can install it in 2 ways i.e. through ftp or directly from dashboard. It is completely up to you which method you want to use for installing this plugin. For the sake of this tutorial I will install this plugin directly from dashboard.

Go to WordPress Admin Panel Dashboard and right-click on Add New under Plugin Section. Search W3 Total Cache and Install It. You will see an image like this.

install-w3-total-cache-plugin

  • Step2 : Activate W3 Total Cache Plugin

After installing activate W3 Total Cache Plugin. Again repeating please delete any other cache plugin before activating W3TC or it will not work properly.

install-w3-total-cache

  • Step 3: Enabling Basic Settings Of  W3TC Plugin

For enabling & configuring W3TC plugin on your blog you will have to go to Performance Menu and then you have to click on General settings tab.  If you want to test W3 Total cache on your blog then enable Preview mode.

w3 total cache settings

  •     Enable Page Cache: Page cache helps in decreasing the response time on website. So Enable Page Cache and choose “Disk: Enhanced” method of Page cache.

w3 total cache settings

  •  Enable Minify:  By doing minification you will decrease the size and number of CSS, HTML and JS files on your blog. This is one of the most difficult part of W3TC. If some of your plugins or themes are breaking after enabling Minify then use auto method. Even after using auto mode your theme is breaking then simply disable minify.

w3-total-cache-minify-settings

  •    Enable Database Cache:  Database caching helps in reducing post, page and feed creation time.

w3-total-cache-database-object-settings

  •    Enable Object Cache and Browser Cache

Object cache also helps in increasing website performance (especially for dynamic websites) and browser cache helps in reducing server load and decreases response time by using site visitor browser cache.

 Note: Enable object cache only if there are more than 700-800 blog posts on your blog. If you have less posts then no need of enabling it.

best w3 total cache settings

  •     CDN: Only enable this if you are using CDN such as MAxCDN,Amazon Cloudfront,AT&T etc.

CDN Settings for W3 Total Cache Plugin

  •    Network Performance and Security performance by Cloudflare : If you are using Cloudflare then only enable it else disable it. Please remember if you are using cloudflare minification then don’t use W3TC minfication.

That’s it these were the basic settings which you must enable for running W3 Total Cache Settings. Leave everything unchecked.  Now comes the hard part i.e.  configuring advanced settings of W3 Total Cache.

You may also like: How To Increase Blog Traffic-Tips By Experts


Advanced Settings For W3 Total Cache Plugin

Page Cache- Advanced Settings (Under Performance menu click on Page Cache )

  • Enable Cache Front Page
  • Enable  Cache feeds: site, categories, tags, comments
  • Enable  Cache SSL (https) requests
  • Enable  Cache 404 (not found) pages
  • Enable  Cache requests only for localhost site address
  • Enable  Don’t cache pages for logged in users
  • Enable  Don’t cache pages for following user roles-> Click Administrator
  • Save Settings.

page-cache-settings

Cache Preload:

  • Enable automatically prime the page cache.
  • Set Update interval as 907 seconds
  • Set Pages Per Interval as 15
  • Enter your sitemap url in sitemap section.
  • Check “Preload the post cache upon publish events.”
  • Save Settings

Minfy- Advanced Settings (Under Performance menu click on Minify )

  • Enable  Rewrite URL structure
  • Enable  Disable minify for logged in users
  • Minify error notification: Both Admin & email Notification
  • Save All Settings

Minify- HTML and XML Section

  • Enable Html Minify Settings
  • Enable Inline JS minification
  • Enable Inline CSS minification
  • Enable Line break removal
  • Find and add the urls of JS files one by one in the CSS minification box. Don’t add Google Adsense JS File here or your ad will not be displayed properly.
  • Save All Settings

Minify- JS

  • Enable Preserved comment removal (not applied when combine only is active)
  • Enable Line break removal (not safe, not applied when combine only is active)
  • Save All Settings

Minify- CS

  • Enable CSS Minify Settings
  • Enable  Preserved comment removal (not applied when combine only is active)
  • Enable  Line break removal (not applied when combine only is active)
  • Import Handling= Process
  • Find and add the urls of CSS files one by one in the CSS minification box.
  • Save All Settings

Minify Settings for W3 Total Cache Plugin

Advanced Settings for Database Cache : No need to play with advanced settings leave them as default.

Advanced Settings for Object Cache : No need to play with advanced settings leave them as default.

W3 Total cache Advanced  settings for Browser cache

  • Genreal Settings:Browser Cache
  • Enable Set Last-Modified header
  • Enable Set expires header
  • Enable Set cache control header
  • Enable Set entity tag (eTag)
  • Enable Set W3 Total Cache header
  • Enable HTTP (gzip) compression
  • Enable Don’t set cookies for static files
  • Enable Do not process 404 errors for static objects with WordPress
  • Save All Settings

browser-cache-settings-w3tc

CSS/JS Settings:Browser Cache

  • Enable  Set Last-Modified header
  • Enable Set expires header
  • Enable Set cache control header
  • Enable Set entity tag (ETag)
  • Enable HTTP (gzip) compression
  • Enable Disable cookies for static files
  • Save All Settings

css-settings-w3tc

HTML And XML- Browser Cache Advanced Settings

  • Enable Set Last-Modified header
  • Enable Set expires header
  • Enable Set cache control header
  • Enable Set entity tag (ETag)
  • Enable Set W3 Total Cache header
  • Enable HTTP (gzip) compression
  • Save All Settings
  • w3-total-cache-advanced-settings

Media And Other Files- Browser Cache Advanced Settings

  • Enable Set Last-Modified Header
  • EnableSet expires header –>Expires Header lifetime “31536000 seconds”
  • EnableSet cache control header ->cache with max-age
  • EnableSet entity tag (ETag)
  • EnableSet W3 Total Cache header
  • Enable HTTP (gzip) compression
  • Enable Disable cookies for static files

w3-total-cache-settings

How To Test Whether W3 Total Cache is working properly on your blog?

To check whether W3 Total Cache Plugin is working or not you will have to first clear your browser cookies and then you will have to right-click on your webpage and select view source code. If W3 Total Cache is configured properly then at the end of file you will see the following lines which is automatically generated by W3TC.

w3tc-tutorial

That’s it friends. These are the exact W3 Total Cache settings which I am using here at Affiliate Nova. If you configure W3 Total Cache on your blog using this tutorial then do share your experience with me via comments. 

48
Leave a Reply

avatar
33 Comment threads
15 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
32 Comment authors
AnitaGryzliVipulVikramDivya Gupta Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Jagdish Kashyap
Guest
Jagdish Kashyap

Hmm. Thanks for sharing your knowledge.

Some blogger is really want to know about speed up plugins and I recommend them W3 total plugin & for configuration I recommend them your site.

vijay
Guest
vijay

hii deepak..
I am using super cache and its performance is way better than w3 super cache.please try that also.

andrie
Guest
andrie

Helo dear deepak
Thanks your article. I am using W3 Total Cache dan pluqin yoast to my blog wp. im using your tutorial but my blog check gtmetrix.com page speed grade D (59%) and Yslow Grade: B(89%) Page load time: 7.99s Total page size: 371KB

how to increase the speed of my blog? there is something wrong with my hosting or my theme wordpress? my blog batrehandphone.com. Thanks you

Charmie
Guest

This tutorial works best for the ones who want to configure this plugin, even we use this plugin on our website.

Regards

Kaloyan Banev
Guest

W3 Total Cache is an excellent extension, even during setup, most things become clear during the compatibility test. Practically 50% of the option can be see there. I personaly have had few hickups with W3 Total Cache and JS minification in the past, but there are always fresh updates.

Icah Banjarmasin
Guest

Hi Deepak..how are you my friend..? really I like your post keep in touch from INDONESIA.

Bhavesh Patel
Guest

Hi Deepak,

I often heard from my friends that W3Cache is good plugins and helps you to reduce the loading time. I also install the plugins but facing some problem with it. But after reading this step by step guide post. All errors are out and it’s work correctly. Thanks Deepak for sharing this post. 🙂

Regards!!!
Bhavesh Patel

Yogiraj mishra
Guest
Yogiraj mishra

Hi! Bro
Came here through enstinemuki’s blog and found it very useful.
Thanks for this really great and very easy tutorial, I am new to wordpress and it’s good guide for beginners

Babs-Haybell
Guest

Hi Deepak,

Thanks for the settings.. However i think this will disturb the mobilepress users.. Am having issues with it now

Raghu
Guest

Hi! thanks for the detailed post with images and all. Caching does help incerase the performance

Sasikumar Krishnan
Guest

Awesome Plugin and nice tutorial 🙂 Thanks for sharing

Tammy Dillard
Guest

Extremely helpful post. I have wasted untold hours trying to solve simple problems because I couldn’t find the right w3 total cache tutorials. But problem solved after reading this article. Great insightful Article. Thank you So Much

Sunday
Guest
Sunday

Hmm! Interesting tutorial I must remark. The W3 Total Cache Plugin settings is a bit complicated but its good to learn how to tackle it from this post.

The step by step guide is helpful and easy to apply. I don’t use a speed optimization plugin but this post has made to reconsider my stance!

I have shared this comment in kingged.com – the content syndication and social marketing platform for Internet marketers, where this post was shared.

Sunday – kingged.com contributor

http://kingged.com/boost-wordpress-w3-total-cache-settings/

Olamosh
Guest

Hi Deepak, thanks for this wonderful post and i really enjoy the tips you share. No pro blogger will ignore the use of cache plugin like “w3 total cache” or “Super Cache’. w3 total cache have earn more reputation and credit from top bloggers, they are several article on the internet which talks about the benefits of using “w3 total cache” and also how to use it effectively with the aid of proper settings as you have describe in your article. Thanks for sharing this with us and have a wonderful day. I found the link to this post on… Read more »

Richard
Guest

This is a very useful and comprehensive guide.

Thank you very much. I have my blog hosted with WPengine, but all my other sites are with Bluehost, so I will bookmark this page and use it as a reference point.

Thanks again!

(Seen on kingged.com)

metz
Guest
metz

Hi Deepak,

W3 Total Cache sounds great as I read your post. This is a good tool also for beginners. All of us has a concern about site speed and this is something that we take very seriously.

I have heard that this plugin is also used on sites like Mashable, Matt Cutt’s blog, CSS-Tricks, and WPBeginner as well. Additionally, popular hosts like HostGator recommend it.

So to sum it up, this plugin is better than other Speed Optimization Plugins.

Nice share and very informative! Thanks!

I left this comment on kingged.com, the content curation website and blogging community.

Trivedi Jay
Guest
Trivedi Jay

Complete guide for installing and settings of W3 Total Cache Plugin. This post help me very well. Thanks Deepak 🙂

Well, Deepak i have one question related to your website. Can i ask ?

Wilker
Guest

I did everthing, my grade on gtmetrix did better 67 to 79 but i do not see that final message on my source code . Can you help me please ? My website is linked to my name here…

Nitin mohan
Guest
Nitin mohan

I was feeling tensed about how to do w3 total cache settings but after your post i think i should re-set my settings properly..well thanks deepak

Akhil Swatantra
Guest
Akhil Swatantra

Deepak This is really good and useful article for me because i am using wordpress first time and its really hard to configure some plugin.

Nitin Mohan
Guest
Nitin Mohan

its my third time im visiting here for the reference to set up w3 total cache of my new wordpress blog thanks for posting such articles!

Fredy
Guest

Simply the best WordPress plugin!Thanks for this post!

adeem jan
Guest

I have read a lot about W3 cache and its related things, however I always face some problems while loading my site. Sometimes, it takes too much time to get loaded. What could be the reason behind that?

Paul
Guest
Paul

Thanks a lot, one of the better w3 cache tutorials around, helped me a lot.

Newbie
Guest
Newbie

Thank you for this tutorial. I followed your direction, however, when I check my site with view source code (after emptying my browser cache), I do not have the text that shows that w3tc is set up properly. I would appreciate your help. Thank you.

Mantra
Guest

Dear Thanks for Great Tips… i have used above settings and got good results… But sometime Images are unable to load by default we need to make re-refresh to get images… is there any idea what might be the issue.. ?

Ismael
Guest

Great tutorial, Deepak!

I’m using Thesis framework (which has its own minify), and even the Minify settings from this tutorial works fine for me!

Impressive!

You have just improved my website speed (I can really see the difference).

Thank you!

Divya Gupta
Guest

Hi Deepak, I wrote to you earlier on a good job done on the explanation here. Reaching out to you now because I seem to be in a fix with this plugin. I followed the steps exactly like you said and for the most part it worked fine but then it crashed. I had registered on Cloudflare for a CDN and when I read your post again, it said that if the site is crashing or if we are using cloudflare then we should simple disable the minify option. I did that and the site still crashed. Do you have… Read more »

Vikram
Guest

Thank you, this is very helpful and detailed contents for beginners like me. I have installed this plugin and configured as you shown in details. But after this, it is not showing images on any page. Kindly write me soon.

Vipul
Guest
Vipul

Hello,

I use W3TC into my project but its showing Optimize CSS Delivery into google mobile speed. I want to remove so how can i remove it.

Can any help me how to fix it?

Thanks

Gryzli
Guest

Hi,

Thanks for your good wall-through.

Do you know if W3TC is excluding any client cookies by default (login cookies or something like that) ?

Anita
Guest

thanks for the complete tutorial. I use w3 total cache and use cloudflare too. So, this article is very helpful for beginners like me

Pin It on Pinterest

Share This