BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

W3 total cache plugin settings to speed up website

Last Updated: September 10, 2022 by Chaitanya Singh | Filed Under: WordPress

Hi All, I believe you already know that Google considers more than 200 signals, while determining ranking of a webpage for particular keyword and website speed is one of them. yes you heard it right, Google is more concerned about website speed. As per Google faster sites create happy user and if the site is slow, generally user close such webpage or click on BACK button. if you don’t believe me you can check at Google webmaster blog: sites speed affects ranking.

After reading this, you must be thinking – how to speed up website? That’s why I have written this post. Here I will discuss about W3 total cache plugin, which can improve your website speed. I will also share optimal settings for this plugin. Also we will see a free tool, where you can check your website speed before and after installing this plugin to check the difference.

W3 Total Cache plugin download: You can download the plugin from WordPress: W3 total cache plugin download

W3 total cache settings

First install the plugin from above mentioned link and activate it. After doing so, you will be able to see a “Peformance” tab in the left sidebar of your WordPress dashboard, click on it and start setting it up step by step.

General Settings

General: Under general settings, first thing which you would find is preview mode. Click on “disable”, after disabling it the screen would like the below screenshot.

W3 total cache plugin general settings disable preview mode

Page Cache: 

Page cache – Enable

Page Cache method: Disk Enhanced

general settings page cache

Minify:

Minify: Enable

Minify Mode: Auto

Minify cache method: Disk

general settings minify

Database Cache:

Database Cache: Enable

Database Cache Method: Disk

general settings database cache

Object Cache:

Object cache: Enable

Object cache method: Disk

general settings object cache

Browser Cache:

Browser Cache: Enable

general settings browser cache

Varnish:

Enable varnish cache purging

general settings varnish

CDN: If you have purchased a CDN then enable it otherwise leave as it is. Generally people go for CDN  when their blog is getting lots of traffic daily. For small blogs it’s not required.

general settings cdn

 

 

Page Cache

General:

Cache home page: Check

Cache feeds: site, categories, tags, comments: Check

Cache SSL(https) requests: Uncheck

Cache URLs with query string variables: Uncheck

Cache 404 (not found) pages: Check

Cache requests only for yourdomain.com hostname: Check

Don’t cache pages for logged in users: Check

W3 total cache settings page cache

 Advanced:

Keep it as default, changes are not required here.

Cache preload:

Automatically prime the page cache: Check

Update interval: 900 seconds

Pages per interval: 10

Sitemap URL: Specify your sitemap URL here.

Purge policy: Leave it as it is.

 Minify

General:

Rewrite URL structure: Check

Disable minify for logged in users: Check

Minify error notification: Both Admin & Email Notification

W3 total cache settings minify

HTML & XML:

HTML minify settings: Enable

Inline CSS minification: Check

Inline JS modification: Check

Don’t minify feeds: Uncheck

Clean: Uncheck

Hide comments: Check

minify settings html xml

JS:

JS minify settings: Enable

Combine only after <head>: Uncheck

Combine only after <body>: Uncheck

Combine only before </body>: Uncheck

Preserved comment removal (not applied when combine only is active): Check

Line break removal (not safe, not applied when combine only is active): Check

minify settings js

CSS:

CSS minify settings: Enable

Combine only: Check

Preserved comment removal (not applied when combine only is active): Check

Line break removal (not applied when combine only is active): Check

minify settings css

 Database Cache

Don’t cache queries for logged in users: Check

database cache settings

Object Cache

No changes are required

Browser Cache

General:

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 cachning of objects after settings change: Check

DO not process 404 errors for static objects with WordPress: Check

W3 total cache settings browser cache

CSS & JS:

browser cache settings css js

HTML & XML:

browser cache settings html xml

Media & Other files:

browser cache settings mediafiles

That’s it, you are done with the optimal W3 total cache settings. Now it’s time to check your website speed.

Check Website speed

You can check your website speed at PageSpeed insights to speed up website. Apart from this, there are many free tools available to speed up website, some of them are-

1) As mentioned above one of the tool is page speed

2) Free tool from yahoo – Yslow

3) Webpagetest – for optimization checklist

Page speed tool is good and enough to check it. Before installing W3 total cache plugin, my website speed score was 84/100 and after installation, it got improved to 94/100, check out the below screenshot –
speed up website by W3 total cache plugin

If you have any questions regarding the topic or any issue with W3 total cache settings, feel free to drop a comment below. Also please let us know how was your experience with W3 total cache plugin and whether it was able to speed up your website.

Top Related Articles:

  1. Yet Another Related Posts Plugin (YARPP) for WordPress
  2. How to Create a free Website on BlogSpot
  3. How to build a website – A complete & free Guide for beginners
  4. How to Change Domain name – Move WordPress site to New Domain
  5. Fix YARPP Issues by using YARPP Experiments Plugin

Tags: WP-Plugins

About the Author

I have 15 years of experience in the IT industry, working with renowned multinational corporations. Additionally, I have dedicated over a decade to teaching, allowing me to refine my skills in delivering information in a simple and easily understandable manner.

– Chaitanya

Comments

  1. Chaitanya Singh says

    May 28, 2013 at 9:14 PM

    Welcome :).
    Let me know if you face any issues while setting up w3 total cache at your site. This is such a best wordpress plugin.

    Reply
  2. Sumit says

    July 11, 2013 at 10:11 PM

    Thanks a lot bro… you solved my problem.

    Reply
  3. adeem says

    November 20, 2014 at 7:08 PM

    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?

    Reply

Leave a Reply Cancel reply

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

Copyright © 2012 – 2025 BeginnersBook . Privacy Policy . Sitemap