WordPress W3 Total Cache Best Settings for High Performance

0
Wordpress W3 Total Cache Settings

WordPress W3 Total Cache Plugin

W3 Total Cache is a WordPress cache Plugin,which can make your website load much faster and you can easily observe the improvement in the load time of your WordPress blog(I have personally tested it on our WordPress blogs and we recommend it (Download), I have observed huge difference in the speed of our WordPress blogs),The speed of a website is an important factor in User Experience and also considering the search engine optimization as speed of a website is also considered by the Search Engines while ranking a website in the search engine.

However,if you are using the Plugin for the first time,you may find it difficult to set all the settings and going through all the options,therefore here in this article, I have tried to make it easier for the new users of W3 Total cache by listing all the optimal settings for W3 Total cache below so that the new users can easily configure W3 total cache plugins to get the best of it.

Optimal W3 Total Cache Settings

I will proceed tab by tab to make it easier for you, before proceeding please uninstall any other cache plugin if installed and one more thing,sometimes there can be compatibility issues with some plugins or theme you are using.

1.The First one is Dashboard, Just Leave it and Move.

W3 Total Cache General Settings

  • General: Leave it as it is.
  • Page Cache: Enabled
  • Page Cache Method: Disk Enhance
  • Minify: Enable
  • Minify Mode: Manual
  • Minify Cache Method – Disk
  • HTML Minifier: Default
  • JS Minifier: Default
  • CSS Minifier: Default or CSS Tidy

[Minify settings can cause compatibility problem with some themes and plugins,You can disable minify(it does not have any huge impact on speed)]

  • Database Cache: Enabled
  • Database Cache Method: Disk
  • Object Cache: Enable
  • Object Cache Method: Disk
  • Browser Cache: Enable
  • CDN : Enable it if you are using,otherwise Leave it and Move on.
  • Enable varnish cache purging: Disable

Network Performance and Security performance by Cloudflare : If you are using Cloudflare enable it and fill up the other details otherwise disable it.

Leave all the other settings after this as they are.

Page Cache Settings

General:

  • Cache Front Page: Enable
  • Cache feeds: site, categories, tags, comments: Enable
  • Cache SSL (https) requests: I think, you aren’t using secure connection,therefore Disable it.
  • Cache URIs with query string variables: Disable
  • Cache 404 (not found) pages:  Enable
  • Cache requests only for onesmartclick.in site address: Enable
  • Don’t cache pages for logged in users: Enable(It’s good to enable this)
  • Don’t cache pages for following user roles: You may wish to enable this as per your preference.

Cache Preload

  • Automatically prime the page cache: Enable
  • Update interval: 18000
  • Pages per interval: 10
  • Sitemap URL: Add your sitemap URL (sitemap ends with .xml)

Purge Cache: Page Cache

No Change Required

Advanced

No Change Required

Minify Settings

General

  • Rewrite URL structure: Enable
  • Disable minify for logged in users: Disable
  • Minify error notification: Admin Notification(or as per your need)

HTML & XML

  • HTML minify settings: Enable and also enable all the sub-options
  • Ignored comment stems: Don’t change anything

JS

  • JS minify settings: Enable
  • Operation in Area: Minify (Non-Blocking using async)

 CSS

  • CSS minify settings: Enable
  • Combine only: Disable
  • Preserved comment removal: Disable
  • Line break removal: Enable
  • @import Handling: Process

Advanced

No Changed Required

Database Cache Settings

General

  • Don’t cache queries for logged in users: Enable

Advance

No Changed Required

Object Cache Settings

No Changed Required

Browser Cache Settings

General

  • Set expires header: Enable
  • Set cache control header: Enable
  • Set entity tag (eTag): Enable
  • Set W3 Total Cache header: Enable
  • Enable HTTP (gzip) compression: Enable
  • Prevent caching of objects after settings change: Enable
  • – Enable
  • Do not process 404 errors for static objects with WordPress– Disable

 CSS and JS

  • Set expires header: Enable
  • Expires header lifetime: 31536000 seconds
  • Set cache control header: Enable
  • Cache Control Policy: cache with max-age
  • Set entity tag (eTag): Enable
  • Set W3 Total Cache header: Enable
  • Enable HTTP (gzip) compression: Enable
  • Prevent caching of objects after settings change – Disable
  • Remove cookies for static files: Enable

HTML and XML

  • Set expires header: Enable
  • Expires header lifetime : 3600 seconds
  • Set cache control header: Enable
  • Cache Control Policy: cache with max-age
  • Set entity tag (eTag): Enable
  • Set W3 Total Cache header: Enable
  • Enable HTTP (gzip) compression: Enable

Media and Other Files

  • Set expires header: Enable
  • Expires header lifetime: 31536000 seconds
  • Set cache control header: Enable
  • Cache Control Policy: cache with max-age
  • Set the entity tag (eTag): Enable
  • Set W3 Total Cache header: Enable
  • Enable HTTP (gzip) compression: Enable
  • Prevent caching of objects after settings change: Enable
  • Disable cookies for static files: Enable

You are done, Leave all the other options and tabs as they are, no need to change anything in them.
Hectic? Obviously it is,But Your effort will pay, Now Check your speed on any tool,or the most preferred one http://tools.pingdom.com/fpt/ and notice the change in speed.

To Improve your Speed and User Experience check out this tutorial.

Note: Most of the time, when you will change something in your WordPress blog, the plugin W3 Total cache prompts to “Empty all caches” click on it, so that the plugin will delete the cache and will make a new one,so that the changes you have made can be effective.

You may also like

Abhijit is a Certified Digital Marketer and passion-driven creative individual based in Maharashtra (Karad). He is also Freelance Blogger, Enterprenuer and Webmaster.