W3 Total Cache Settings and Configuration for Beginners

Anil AnveshBlogging5 Comments

w3-total-cache-logo

Google takes almost 200 factors into consideration while ranking your webpage in search results. Page speed is also one of the ranking factor. Website speed is directly proportional to user engagement. If a visitor finds your website is loading lazily he/she will not show interest to visit your website again. Thus your website bounce rate will go down. That’s why Google also considers page speed to rank any webpage in search results.

Before WordPress it was a heavy task to optimize website speed. One has to manually optimize the CSS and Javascripts which is difficult for people without coding background. When WordPress entered the market many developer came forward with different caching plugins. search engines like Google like static HTML webpages because they load much faster compared to pages with scripts. So the idea caching plugins is to serve static content to search engines.

w3-total-cache-logoOf many WordPress caching plugins W3 Total Cache is the best caching plugin. It is trusted by millions of WordPress users which can increase your website speed significantly. But many bloggers find it difficult to configure the plugin. Even I contacted “Frederick Townes” developer of W3 Total Cache plugin for optimal settings for W3TC plugin. Unfortunately he never published an article or video about the plugin configuration. But the Team is charging $150 for professional setup which is too expensive. So we decided to a publish an article explaining the complete configuration of W3 Total Cache plugin.

Pros of W3 Total Cache Plugin

1. Trusted by Pro-Bloggers and companies like Mashable, Makeuseof etc.
2. It can boost website speed by 10 times
3. It has many features like Page Cache, Browser Cache, Database Cache, Object Cache and CDN.

W3 Total Cache Plugin Installation

1. From your WordPress Dashboard under Plugins click on Add New.
2. Search “W3 Total Cache
3. Look for W3 Total Cache plugin developed by Frederick Townes.
4. Install and Activate the plugin.

W3 Total Cache Settings

W3 Total Cache General Settings

Page Cache – Enable
Page Cache Method – Disk Enhanced
Minify – Enable
Minify Mode – Auto
Minify Cache Method – Disk
Database Cache – Enable
Database Cache Method- Disk
Object Cache – Enable
Object Cache Method – Disk
Browser Cache – Enable
CDN – Enable if you are using a CDN service and select CDN Type else Disable
Varnish Cache Purging – Disable
Network Performance by CloudFlare – Enable if you have CloudFlare account and enter CloudFlare Email id, API Key which you can find in CloudFlare Account and enter domain. Set Security Level to Medium, Turn Off Rocket Loader and Development Mode and set Minification to CSS, JavaScript and HTML.

Note: If your are Enabling CloudFlare Minification then Disable the above Minify setting.

W3 Total Cache Settings - CloudFlare

Miscellaneous – Enable Google Page Speed and enter API Key. Check Verify rewrite rules.
Debug Mode – Check Page Cache, Minify, Database Cache and Object Cache. Finally hit “Save all settings”.

W3 Total Cache Page Cache Settings

General

✔ Cache front page.
 Cache feeds: site, categories, tags, comments.
 Cache SSL (https) requests.
 Cache URI requests only for site address.
 Don’t cache pages for logged in users.

Cache Preload

✔ Automatically prime the page cache
Update Interval – 907
Pages per interval -10
Sitemap URL – Enter your sitemap url Eg: http://www.example.com/sitemap.xml
✔  Preload the post cache upon publish events.

Don’t change anything in Purge Policy and Advanced settings.

W3 Total Cache Minify Settings

General

✔ Rewrite URL structure.
✔ Disable minify for logged in users.
Set error notification to Admin Notification.

HTML & XML

HTML Minify Settings:
✔ Enable
✔ Inline CSS minification
✔ Inline JS minification
✔ Line break removal

Don’t change anything in JS and CSS minify settings.

W3TC Database Cache Settings

No Changes Required.

W3TC Database Cache Settings

No Changes Required.

W3TC Browser Cache Settings

General

✔ Last-Modified header
✔ Expires header
✔ Cache control header
✔ W3 Total Cache header
✔ Enable HTTP (gzip) compression

CSS & JS

✔ Last-Modified header
✔ Expires header
✔ Expires header lifetime – 31536000 seconds
✔ Cache control header
✔ Cache Control Policy: cache with max-age
✔ W3 Total Cache header
✔ Enable HTTP (gzip) compression

HTML & XML

✔ Last-Modified header
✔ Expires header
✔ Expires header lifetime – 3600 seconds
✔ Cache control header
✔ Cache Control Policy: cache with max-age
✔ W3 Total Cache header
✔ Enable HTTP (gzip) compression

Media & Other Files

✔ Last-Modified header
✔ Expires header
✔ Expires header lifetime – 31536000 seconds
✔ Cache control header
✔ Cache Control Policy: cache with max-age
✔ W3 Total Cache header
✔ Enable HTTP (gzip) compression

W3TC User Agent Groups and Referrer Groups

No Changes Required

W3 Total Cache – CDN

If you enabled CDN in General Settings then you have to configure CDN settings else no changes required.

Conclusion

W3 Total Cache is a powerful WordPress plugin which will boost your WordPress powered website speed significantly. We also recommend to use CDN services. CloudFlare offers free CDN service which will protect website from security threats and also improves website speed by keeping multiple copies your website in servers located in different parts of the world.

After configuring the W3 Total Cache plugin check your website speed at Pingdom. If you have any difficulty in configuring W3 Total Cache plugin drop a comment we will be happy to resolve your issue. If our article helped in improving your website speed please do us a favor by subscribing to our YouTube channel 🙂


5 Comments on “W3 Total Cache Settings and Configuration for Beginners”

  1. Pingback: Google PageSpeed Service - TurboCharge Your Website - Tech Knol

  2. vincasdsd

    Thank’s Anil for explaining the settings. How about Incapsula DNS free, do you have any idea about the setting I need to use than?

  3. Pingback: WordPress SEO - The Complete Guide - Tech Knol

  4. Lou

    Great stuff!, I made a video website about 4 days ago and I have a problem with W3 Total Cache…. The ‘views’ on the videos I post don’t change when I activate the “Page Cache”, I’ve tried all types of setting within the “Page Cache” (even disabling all settings WITHIN Page Cache) and I still have the problem. When I completely disable the Page Cache, my view counts work back to normal and increase accordingly. This is a huge problem for me because when the Page Cache is enabled my website speed is superb! Is there any way around this? Thanks!!

Leave a Reply

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