Configuring W3 Total Cache Settings

You can simply configuring W3 Total Cache Settings by uploading the settings file via Performance -> General Settings -> Import / Export Settings (at the bottom). Still, here are all the settings step by step:

== Configuring W3 Total Cache Settings == Configuring W3 Total Cache Settings ==

Configuring W3 Total Cache Settings

== Configuring W3 Total Cache Settings == Configuring W3 Total Cache Settings ==

Configuring W3 Total Cache Settings

1. W3TC General Settings

  • Page Cache – Enabled
  • Page Cache Method – Disk Enhanced
  • Minify – Enable
  • Minify Mode – Auto
  • Database Cache – Enabled
  • Database Cache Method – Disk
  • Object Cache – Enable
  • Object Cache Method – Disk
  • Browser Cache – Enable
  • CDN – Enable if you are using a CDN service else Disable
  • Enable varnish cache purging – Disable
  • New Relic – Enable if you use New Relic else Disable
  • License – Fill your license key if you are using a premium account
  • Enable Google Page Speed – Disable else enable with verified key
  • Verify rewrite rules – Enable
  • Enable File Locking – Disable
  • Optimize disk enhanced page – Disable
  • Debug – No Changes

2. Page Cache Settings

Page Cache – General

  • Cache Front page – Check
  • Cache feeds: site, categories, tags, comments – Check (Blogs running Feedburner – Uncheck)
  • Cache SSL (https) requests – Check
  • Cache URLs with query string variables – Uncheck
  • Cache 404 (not found) pages – Uncheck
  • Cache requests only for yoursite.com hostname – Check
  • Don’t cache pages for logged in users – Check
  • Don’t cache pages for following user roles – As per your choice

Page Cache – Cache Preload

  • Automatically Prime the Page Cache – Checked
  • Update Interval – 900
  • Pages per interval -10
  • Sitemap URL – URL of your blog’s xml sitemap. E.g. http://example.com/sitemap.xml
  • Preload the post cache upon publish events.

Page Cache – Purge Policy

No changes

Page Cache – Advanced

No Changes

3. W3TC Minify Settings

Minify can increase your site speed by removing the unnecessary comments and spaces from your Html source files. Please keep in mind that this function may cause a crash of your site sometimes. I would recommend you to consult your hosting provider before using this function.

Minify Settings – General, HTML & XML

  • Rewrite URL structure – Check
  • Disable minify for logged in users

Minify Settings – HTML and XML

  • Enable – Check
  • Inline CSS minification – Check
  • Inline JS minification – Check
  • Don’t minify feeds – Check
  • Line break removal – Uncheck

Minify Settings – JS & CSS

  • JS minify settings – Check
  • Operation in area – Minify
  • Embed Type – Non-blocking using defer
  • All other options – Uncheck
  • CSS minify settings – Enable
  • Combine only – Disable
  • Preserved comment removal – Disable
  • Line break removal – Enable
  • @import Handling – Process

Minify Settings – Advanced

No change

4. W3TC Database Cache

  • General – Don’t cache queries for logged in users – Enable
  • Advanced – No Changes

5. W3TC Object Cache

No changes

6. W3TC Browser Cache

Browser Cache – General Settings

  • Set Last-Modified header – Check
  • Set expires header – Check
  • Set cache control header – Check
  • Set entity tag (eTag) – Check
  • Set W3 Total Cache header – Check
  • Enable HTTP (Gzip) compression – Check
  • Prevent caching of objects after settings change – Uncheck
  • Don’t cache cookies for static files – Uncheck
  • Do not process 404 errors – Uncheck

Browser Cache – CSS & JS

  • Set Last-Modified header – Check
  • Set expires header – Check
  • Expires header lifetime – 3153600 seconds
  • Set cache control header – Check
  • Cache Control Policy: cache with max-age and validation
  • Set entity tag (eTag) – Uncheck
  • Set W3 Total Cache header – Check
  • Enable HTTP (Gzip) compression – Check
  • Prevent caching of objects after settings change – Disable
  • Disable cookies for static files – Check

Browser Cache – HTML and XML

  • Set Last-Modified header – Check
  • Set expires header – Check
  • Expires header lifetime – 3600 seconds
  • Set cache control header – Check
  • Cache Control Policy: cache with max-age and validation
  • Set entity tag (eTag) – Check
  • Set W3 Total Cache header – Check
  • Enable HTTP (Gzip) compression – Check

Browser Cache – Media and other files

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

7. W3TC User Agents Group & Referer Groups

No changes

8. W3TC CDN (For CDN users only)

These settings are only for the users who use CDN services like MaxCdn or Cloudflare on their website. If you do not want to spend money on CDN services, you can also try some free CDN available for WordPress blogs.

  • Host attachments – Check
  • Host wp-includes/ files – Check
  • Host theme files – Check
  • Host minified CSS and JS files – Check
  • Host custom files – Check
  • Import external media library attachments – Uncheck
  • Add canonical header – Uncheck

After configuring all the settings, Go back to General Settings & Hit Empty all Cache. Finally, you are done and have successfully Configuring W3 Total Cache Settings on your blog.

== Configuring W3 Total Cache Settings == Configuring W3 Total Cache Settings ==

Check if the plugin is configured and optimized correctly?


If you have followed all the above steps, the plugin will be configured correctly.

To check if the plugin is working correctly, open the Html source code of any web page of your website (Right Click -> View Source) and look for this line:

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/ -->

to confirm its proper working. To confirm the speed optimization of your website after installing this plugin; Go to Pingdom Tools and check the speed of your website once again. My website’s speed jumped to 91% from 39% earlier. I am sure that it will be increased for yours too.

== Configuring W3 Total Cache Settings == Configuring W3 Total Cache Settings ==

== Configuring W3 Total Cache Settings == Configuring W3 Total Cache Settings ==