Ultimate Guide to W3 Total Cache Settings With Cloudflare Setup

The fastest W3 Total Cache settings with Cloudflare setup for enhanced speed!

There are many performance optimization plugins for WordPress like WP-Rocket, WP-Super cache, Hyper Cache, DB-Cache Reloaded Fix, etc. But we will discuss only the W3 Total cache in detail as it has the deepest possibility of customization. So we will give you W3 Total Cache settings which are the best and optimized for almost all different server setups.

Because of many Google updates like PenguinPanda  & Fred, and now May update, the loading time of websites plays a critical role in a website’s search engine rankings. There are several ways to speed up a website. Caching, database caching, object caching, lazy loading, minifying, and a lot more. Optimizing images and a lot more other factors are required to make sure that your sites load fast, really fast.

The real beauty of the W3 Total Cache plugin is that it makes it easy to do it all in one place.
So, let’s start the tutorial without wasting much time! 😀

W3 Total Cache settings 2024 edition:

the ultimate guide to w3 total cache settings

1.) First of all, install W3 Total Cache plugin for WordPress and activate it.

2.) Now after activation deactivate the Preview mode. To deactivate it, just click “Performance” on the left side of your WordPress dashboard and click the “Disable” button on the Preview section.

Now we will do the rest of the process stepwise.

General Settings

  • Enable Page Cache, use “Disk: Enhanced”. If it’s showing up in your options then you can also select Opcode: APCu or Redis as it’s the fastest. But in most cases, the Disk Enhanced method is the fastest as it creates static HTML files out of your dynamic page. If you choose Redis or Memcached then you also can run into troubles with low RAM.
  • Enable Minify, and set it to “manual”. Use “Disk”. If it’s showing up then you can also select Redis > Memcached> APCu as it’s the best in the mentioned order.
  • Enable Database Caching. Use: “Disk”. If your wp-config is not writable due to some security plugin then set it to writable for the optimal working of Database Cache.
    Note: If you use Disk in Database caching it will be slower than actually running your MySQL engine in most cases and hence we would recommend keeping it off unless you can run Database cache using APCu, Memcached, or Redis. Memcached will be the fastest but in most cases, Redis will suffice. You might need to enable the APCu, Memcached, or Redis PHP extensions on your hosting end.
  • Enable Object Caching. Use: “Disk”. It’s great for sites with heavy traffic. But if possible running Object caching via APCu, Memcached, or Redis is what will give you the most gains.
  • Enable Fragment Caching: Just like Object caching, Fragment Caching is an extension of it and can benefit from being run on APCu, Memcached, or Redis. If those options are not available then you can use disk, unlike Database caching which will not impact your performance.
    Note: In order to use Fragment Cache you need to buy the paid version of W3 Total Cache.
  • Enable Opcode Caching: Set it to Zend OpCode Cache as it caches the output of your PHP requests and significantly speeds up PHP.
  • Enable Browser Cache. It helps in leveraging browser caching.
  • Enable Verify to rewrite rules, and if you have a Google Page speed API, then it’s your choice to enable the Dashboard Widget.
  • Enable Cloudflare connection.
  • Enable Lazy Load images: We have found that the Lazy Load offered by W3 Total Cache works best with third-party plugins like EWWW optimizer and if you are using such a solution to serve WebP images then this will come in handy.
Learn more about  Google AdSense Side Rail Ads Are Coming Soon!

Optionally you can enable “Optimize disk enhanced page and minify disk caching for NFS“. It helps on some shared hosting setups.
Optionally you can also disable the JQuery migrate script on the front end as most modern themes don’t use it. You can also remove emoji support from your site if it’s not critical to your site functionality.

Note: APCu has been deprecated by most newer hosts but if you are running a single site setup then it’s better than not running any advanced caching method in the first place.

Redis is one of the best methods as it doesn’t require you to have tons of RAM.

Memcached might work the fastest but it benefits from having a high amount of RAM which everyone might not have access to.

Advanced settings

W3 Total Cache settings For Page Cache

  • Enable Cache front page.
  • Enable Cache feeds site, categories, tags, and comments.
  • Enable Cache SSL (HTTPS) requests.
  • Enable Cache requests only for the www.yoursitename.com hostname.
  • Enable Don’t cache pages for logged-in users.

For Cache Preload

  • Enable Automatically prime the page cache. Set the update interval as 907 seconds or something close. Select the number of pages as 15 (increase or decrease depending on hosting).
  • Enter your sitemap URL. And enable Prime to post cache on publishing.

For Advanced

  • Set the Maximum lifetime of cache objects: 180060 seconds.
  • Set Garbage collection interval: 3600 seconds.

W3 Total cache settings for Browser cache

  • Enable set Last-Modified header, set expires header, set cache-control header, set W3 Total Cache header, and enable HTTP (gzip) compression. If your server supports Brotli then tick that as well in order to get maximum compression levels.
  • Set all the cache control policies to Cache with Max-age.

For CSS & JS

  • Set expires header lifetime: 31536000 seconds (over 1 year).
  • Enable set Last-Modified header, set expires header, set cache-control header, set W3 Total Cache header, and enable HTTP (gzip) compression.


  • Set expires header lifetime: 7200 seconds.
  • Enable set Last-Modified header, set expires header, set cache-control header, set W3 Total Cache header, and enable HTTP (gzip) compression.

For Media and other files

  • Set expires header lifetime: 31536000 seconds.
  • Enable set Last-Modified header, set expires header, set cache-control header, set W3 Total Cache header, and enable HTTP (gzip) compression.
Learn more about  Introducing Grovepixels, your new WordPress theme destination

 W3 Total Cache settings for Minify.

  • Enable rewrite URL structure and disable minify for logged-in users. Set error notification to Admin notification.


  • Tick on enabling, inline CSS minification, inline JS modification, and line break removal.


  • Tick Enable, preserved comment removal, and line break removal. Now go to your website in some other browser and right click and view source. Find the CSS files, and add their URLs one by one in the CSS minification box. Do this to see whether something breaks the layout on minification or not.

For Advanced

  • Update external files every: 216000 seconds and the same for garbage collection.

For JS

This is the most difficult part of setting up W3 total cache settings. It requires some trial and error. Do it if the above steps are not enough.

  • Tick on enable preserved comment removal and line break removal. Now get to the source of your site as before and find only those js files that are hosted on your website. Now add their URLs one by one and check every time whether something is breaking your site or not.
  • NOTE: Customscript.js and the themes js files like themename.js should not be minified as mostly they are the ones that cause errors.

W3 Total Cache settings for User-agent groups.

Just enable it and don’t change anything.

NOTE: If any setting is not there in this guide then leave it to the default value.

Checking the cache

1.) Open any other browser clear its cache and then open your homepage URL. Now right-click and click on “View Page Source” and at the bottom, it should look like the screenshot below

w3 total cache settings check

2.) Go to tools.Pingdom and check your site load time. If everything is working well. You can expect results like the one below.

w3 total cache settings test


If the Optimal Settings do not work for you. Follow these steps :

1.) You can try the WP Fastest cache. And learn to customize it here. Using it along with any object cache plugin will give you nice results. But not better.

2.) Disable Gzip compression and see if it works well.

3.) You can comment below so that I can help you in fixing errors.

If you have any problem with the above guide or have any doubts, then do comment. I will be more than happy to help. 😀
Genuine views are also welcome.

Updated settings for different scenarios and custom W3 Total Cache configurations: 

  • For people on shared hosting servers: Enable only Page caching, browser caching, and Object caching for best results. Use the “Disk enhanced” method for best speeds. In Object caching set the time to 301 seconds or something around 5 minutes. If your shared hosting is too poor or you are using a free server then only use the browser caching module with the page caching module as it makes the objects static instead of dynamic PHP code execution on every page hit.
  • Try and use Cloudflare CDN or Pagespeed CDN along with the W3 Total Cache plugin in order to have the best loading time. (NOTE: Google PageSpeed CDN has been officially retired by them quite some time ago.)

By adjusting Cloudflare’s best settings, adjust complicated things like performance, security, and page rules for defining what you want to be cached and what not. For people who run into any problems, they can always comment here or they can share their problems on the Cloudflare forum here.

  • Try and optimize cron jobs manually to reduce server usage and you can also try to disable the WordPress heartbeat API in order to reduce CPU usage. Disabling automatic cron can go a long way in improving the overall performance of your server and saving you unnecessary load.
  • W3 Total Cache miscellaneous settings: Enabling the “Edge mode” in the latest variant of W3 Total Cache can give a minor speed boost to some server setups. But be warned as it’s known to break some server configurations, so always try it at your own risk.
  • W3 Total Cache extensions: The W3 Total cache plugin now comes with extensions in order to improve upon the existing functionality. Those people using the WordPress SEO by Yoast plugin can enable the Yoast SEO extension. Those people looking to implement Cloudflare on their sites need to install the Cloudflare extension for communication between Cloudflare and the caching plugin.

    Installing the Feedburner extension allows you to ping Feedburner automatically every time you publish a new post. There’s also the extension for Genesis Framework, but it requires W3 Total Cache Pro along with Genesis Framework installed on the site. This module improves the page generation time by 30%-60% for the Genesis Framework by implementing the Fragment caching method which is available with W3 Total Cache Pro.

You may like: Spotify Premium APK Download


There are a lot of other easy options in the market that don’t involve as many features as the W3 Total cache plugin. In recent times the W3 Total Cache plugin has also undergone many changes. A lot of advanced features are only available for the paid pro versions.

But in this w3 total cache settings guide 2024 we have only covered those things that you can configure for free. Those interested in getting their sites manually tweaked for best performance or those who want help in configuring w3 total cache settings can leave their queries in the comments below and contact us via email for the speed packages.
Otherwise following this guide well and having a good server can easily get you around the 1-2 seconds loading time mark.

Last Updated on 22nd January 2024.

Stay inspired to rise.
Inspire2rise on Facebook | Inspire2rise on twitter
All rights reserved. 2011-24 ©Inspire2rise.com

Aditya Nath Jha is an Engineer from New Delhi, India. His areas of interest include Gadgets, WordPress, speed optimization & latest technology. When he is not busy blogging he loves to write poetry, compose his own songs and has a taste for music! Find him on Facebook, Twitter, Linked in, Instagram. And watch his videos on YouTube.

The ultimate guide to W3 Total cache settings | Inspire2rise
Article Name
The ultimate guide to W3 Total cache settings | Inspire2rise
We will discuss W3 Total cache in detail as it has the deepest possibility of customization.So we will give you W3 Total Cache settings which are the best.
Ultimate Guide to W3 Total Cache Settings With Cloudflare Setup

138 thoughts on “Ultimate Guide to W3 Total Cache Settings With Cloudflare Setup”

  1. Hello Aditya Nath Jha,

    Thanks for your awesome article.

    i have one question. This W3 total cache setting is save for Adsense account?

  2. Hi i tried your set up on one of my site. yeah the speed is improved but in the page source I didn’t see the result as same in your screenshot.

  3. I've installed and configured W3 Total Cache on a few of my WP sites. The sites load faster but the problem now is that the Google Ads are not showing for me the first time I load the website. I need to reload the page for the ads to appear and I'm worried that's what the rest of the visitors are seeing. Last thing I want to happen is getting banned from Google for messing with the ads.

    I'm not sure what I did wrong. Currently, all I see is white space in the place where the ad should be. If I reload the page then the ads appear. Any help would be appreciated!

    • It happens when you clear the cache again and again, and server slows down because of over load caused due to excessive cache rebuild. Try avoiding clearing caches for atleast 8 hours and then check via another browser which has all history( cookies + caches ) cleared . Maybe it will solve the issue!

  4. Hello sir , i really liked your article….but do I need to do anything or any settings if I shift from Quick Cache to W3 Total Cache. I am using quick cache at present..so should change it directly.

  5. Thanks you sir, but I get a help from you please.
    I don't understand about "W3 Total Cache settings for Minify." for CSS and JS. In this case :
    "Find the CSS files, and add their urls one by one in the CSS minification box. Do this to see whether something breaks the layout on minification or not."

    What's mean? Can you give me a Screenshot for follow the tips? Thanks 🙂

    • It means that if a theme is developed by a bad coder then the CSS on minification would break the design, that's why you have to add the files one by one and then clear the caches to see whether the site layout stays constant or not!

  6. Hi Aditya,

    We have just completed this tutorial for our website born4digital.com as we were having some slow speeds on some pages. Our Pingdom score was a low 60 before we did this and now it has just come back as 72/100 – still not great but loads better thank you! Now to reduce the images sizes and the pages will be even quicker 🙂

    Thanks for the guide!

  7. Hi, great job. Your article is very professional, I have a question: is it possible to ignore the : "W3 Total Cache settings for Minify."

    • I haven't covered it because minify is too complicated for most of javascript and themes as it requires delicate trial and error. One wrongly minified file can break a whole site's layout!

      • I’ve used your tutorial twice now. Inserting all css files in minify.
        The first time everything worked perfect but now every css file I put in gets disabled.
        Do you have any idea what I’m doing wrong?

        • Maybe you have changed your theme, or maybe the W3 total cache plugin has been updated too much since the previous release you had been working with. CSS files don’t work with minify only and only if they have been poorly coded.

  8. i got this error,

    "W3 Total Cache error: It appears Page Cache URL rewriting is not working. Please verify that the server configuration allows .htaccess
    Unfortunately disk enhanced page caching will not function without custom rewrite rules. Please ask your server administrator for assistance. Also refer to the install page for the rules for your server.
    Technical info"
    i knw abt .htaccess file, bt the problem is I dnt know what to add.

  9. Your settings helped my speed up by 20%. But today I found this post on hostgator : goo.gl/2BZgXB
    They don't recommend W3 total cache. After I read that post I have changed to super cache and my speed was slow.
    Please give me a soln for this!

    • If you read the post carefully, it's written that: "We do not recommend using W3 Total Cache while any other caching plugins are enabled as it causes numerous issues upon activation." It means using only W3 Total Cache as cache plugin doesn't affect the W3 Total cache settings and then everything works fine!

  10. Hello! The article is really helpful and I think I’ve accomplished and followed all your instruction. I’ve also seen almost the same screenshot on the Page Source saying W3 is caching my website. I’ve installed W3 Total Cache before but deactivated because my website crashed and now that i have re-installed the plugin I am receiving this message:

    W3 Total Cache Error: Files and directories could not be automatically created to complete the installation.
    Please execute commands manually or use FTP form to allow W3 Total Cache make it automatically

    – – – – – – – – –
    I wonder if I really need to do this. if yes, how?
    Any help would be appreciated. Thank you in advance.

    • This seems a rather strange issue. I would recommend to uninstall W3 Total cache completely. Remove it’s rules from your .htaccess file and delete any advanced-cache.php file in your wp-content directory. And then try reinstalling the plugin.

    • Advice 1 never make too great changes when visitors are rushing in. Do it at a time when there’s less traffic. Advice 2 : Spend time yourself on these things, it will add to your knowledge 😀

  11. And you all have to realize that W3 Total Cache can be a very moody plugin. Sometimes just adding a new plugin can set it off. It’s definitely very very trial and error.

    One thing I don’t recommend is paying for them to configure this for you as I made that mistake and $800 later I wound up just doing it myself. Their service kept crashing my server (massive dedicated one at that with SSD’s) and then they kept telling me my server was just wrong and I should switch to their servers.

    For sites that are very image heavy, MaxCDN might be a great choice as it takes the load off your server. It might not boost up speeds, but it takes the strain off the CPU to keep it busy for other things.

    It’s a great article for the latest update on W3 Total Cache. Most of the tutorials are from 2012 so it was great to find an up to date one. With Minify, tread carefully and slowly. Man would love to just make all the changes at once and save, but trust me, minify is that one that one little tweak can make it tweak out.

    • Wow man, so much frustration 😛
      It’s visible everywhere in your comment. And you would have noticed that I didn’t cover minify in detail. Because personally I think that for most people it would be better not to try it. Only because some theme developers and plugin developers take shortcuts to do things is the reason why minify doesn’t work on all types of scripts. And yes this guide surely gets updated every once in a while. If I think something’s missing then either I update this W3 Total Cache settings post or I add the tip in a comment.
      Consider this newbie tip : Enable manual minify, and leave the ccs and js part. Just HTML minify too would lead to some savings on bandwidth and loading time. If you liked the W3 Total Cache settings post then do visit us again.
      Stay Inspired to rise Curt! 😀

  12. Hi,

    The suggestions you have provided is very useful. I did not know very much about these settings. I have enabled the minify and now my site is bit faster. Is there any good optimization technique for images?.


  13. I am new when I use w3 total cache and clear all browsing data then when I go to my website nothing little emoticons and wired black text everything gone
    but when i deactivate the plugin my website starts visible
    please helppp

  14. Hello Aditya,

    An article worth sharing buddy. I applied these settings and saw a change as the score for mobile increased by 22 and that for desktop increased by 4. I was using W3 Total Cache Plugin earlier also, but this guide helped me in well optimizing it. Thanks for sharing bro. Cheers!!!

  15. Hi,

    It was really a great article and I have been trying to figure out things for a long time. After the steps which you have mentioned, I noticed that some of the versions have newer things which is not matching with the article. After completing all the steps, the score was great but I lost something valuable in the website. The pages were faster, but the image gallery in various pages never showed up. I have no clue as why this happened.

    It will be really a great, if you can help on this matter.

    • It seems that the image gallery has a specific js file attached to it. While setting up W3 total cache settings you most probably enabled auto minify which is why those scripts are giving you the error. Set minify to manual and in that only enable HTML minify and leave JS and CSS minify part untouched. This works the best.

      • Hi Aditya,

        Yes, I am using a different plugin for the gallery part, its Justified image grid. But truly I remain clueless as what is going wrong, as after reading your comment I tried to do the same thing which you specified but still the error persists. As soon as I activate the W3 cache plugin all the galleries goes off.


  16. I am having a shed load of trouble with the JS minify, it pretty much breaks every plugin lol also specify a vary encoding header is being a nightmare. Any help will be appreciated

    P.S why not email for replies on this site ?

  17. Hi Aditya nice explanation how ever you asked me about object cache and database caching I explained it on my write up why I don’t recommend using object caching on a shared hosting.

  18. This is regarding your ‘Cache settings for Minify’. Instead of painstakingly copying CSS stylesheets from the page source, Google Insights can be used which requires no registration and is free. They can be simply copied from there and pasted. Anyway, the post content is great. 🙂

    • I have had prior experience with Google Insights, sometimes the CSS stylesheets which are not being served from your page i.e. Something like a stylesheet for web fonts served via Google appears there and a user minifies it, then it would lead to size of the minified file getting larger and would have no apparent benefits. So, keeping in mind the general newbie nature of most of the people here the W3 total cache settings have been written accordingly.
      Nonetheless, have a nice day. Keep visiting Inspire2rise.com

  19. Thanks a lot that’s awesome. I first installed W3 Total Cache but it was way too complicated and I turned to Super Cache, while later on I found that I need more other plugins together with Super Cache to make me pass the web speed tests and then I went back to Total Cache. I followed your guide and my site speed got boosted a lot! much better than when using super cache. The only thing is I have to disable minify in General Setting page to have my map showing properly in my page. After all thanks!

  20. Hi Aditya

    First of all – thank you very much for this great guide. I am not technical at all, and although I had never used W# Total Cache before, I found it very easy to configure it based on your guide.

    I used tools.pingdom.com to test the result, as you recommended. Most of my results look similar to your, except for the load time. I hope you can help me understand why my result is so different?

    My results:

    Perf grade: 88/100 (yours is 92/100)
    Requests: 66 (your is 64)
    Load time: 4.78s (yours is 931 ms) —-> this looks like a big difference?
    Page size: 951kb (yours is 848.9kb)

    I really hope you can point me in the right direction, as I have no idea what the big difference means?

    Thank you

  21. Despite of the fact I have enabled HTTP (gzip) compression on the browser cache it still shows that a lot files are not compressed when I analyze the site on the google page speed.

    • Even if you enable gzip in W3 Total cache it won’t be able to compress all the files. The files that are not present on your server (scripts etc.) Are the ones behind this. The only solution can be combining them into a single file and then using wp_enqueue() or similar methods to load them.

  22. I just went through this guide step by step, but my site is still slow @ between 6-8 seconds. When using GTMetrix to test the speed… Under YSlow I still get a Grade of 0 for “Set Expires Headers”. Under Page Speed I only have 6/100 for “Defer Parsing of Javascript”. Total # of HTTP Requests 112.

    In the section of W3 Total Cache where we had to look at the source code and add the .js URL’s. I had to add 4 of 11 that I found, but only 4 because it seemed the other was not hosted on my site. But there was a dropdown menu there that said “Embed Location” and all of those 4 I has “Embed in ” chosen. Is that okay?

    I’d like to know what’s going wrong. Any help would be appreciated!

    • If grade 0 is present for set expires headers, then it means you didn’t set up Browser Cache part correctly. The .js files served from your site are the ones that have to be added in the minify section in w3 total cache, add them to load before tag ( closing body tag ), load them asynchronously in the loading method ( non blocking via async tag )
      I hope it helps. 🙂
      Otherwise contact me on i2r.in/adityanathjha

  23. Before:
    Minified using disk (User is logged in)
    Page Caching using disk: enhanced (User is logged in)
    Database Caching using disk (Request-wide User is logged in)
    Object Caching 20993/21018 objects using disk

    Load time – 7.38
    Page size – 2.0 MB

    Minified using disk (User is logged in)
    Page Caching using disk: enhanced (User is logged in)
    Database Caching using disk (Request-wide User is logged in)
    Object Caching 20993/21018 objects using disk

    Load time – 4.16
    Page size – 2.1MB

    I only can say, your tutorial worked! But i believe i maybe forgot some things that can increase the sitespeed more, is it possible for you to look at it? It’s for a Buddhist Organization.

  24. Just found your blog and read through it and all the comments. I’ve been having a very difficult time with my site’s performance. I’m even on MaxCDN. I have CloudFlare but I’ve been running into so many conflicts with it plus the use of Max CDN. I’m going to give this a try tomorrow and see what happens. I’m on VPS, not shared hosting, and have APC installed. I sent a message to you, but it will go in your “other” folder on FB. Kindly, Leslie

  25. Woow! Just what I need it. I was searching for something like this for ages! Finally I found it. I was looking for advanced settings and it was almost impossible. Thanks for the great post. Cheers.

  26. Hi can you help with my page? My website is around 1.6 mb and 3 seconds of loading. I got MaxCDN installed as well. I followed your whole tutorial, but the minify settings make my website even slower. Can you help me with configuring w3 total cache for my website right?

    • You can use W3 Total cache with pagespeed because pagespeed won’t optimize the activities happening on server side. Enabling browser cache, database caching and other tweaks on W3 along with Google pagespeed works great!

  27. Aditya — Thanks so much for this… Website speed increased significantly, but I get this error message…

    Recently an error occurred while creating the CSS / JS minify cache: File “/home2/seamimi/public_html/wp-content/cache/minify/000000/4b006/default.include.d6fcd5.css”

    I am using the Themeforests Me Gusta Theme, which is enables user generated content, and now people are unable to upload their content. I’ve done all your trouble shooting options for .js and .css minify sections (disabled line breaks, embed in , etc.). Do you have any advice?

    • I would suggest to do manual fine tweaking, remove the .js files ( one at a time ) to check which one breaks upon minifying to resolve the user upload issue, for the issue regarding the error message, I think it’s probably a w3 total cache error which will be rectified with future updates.

  28. Aditya is correct about that minify error. It’s just a goofy bug the developers of W3TC are still trying to figure out how to get it to not show up. It just means the cache has changed.

  29. i am really impressed with your content writing, the main reason is you do explain very well.
    I also use w3tc..
    Thanks publisher

  30. Thank you for the great article Aditya. After installing W3 total cache I verified my site on page speed and this is what appeare: The URL was fetched, but nothing was rendered. Ensure that the URL
    points to an HTML page that loads successfully in a web browser. What does it mean? When I deactivate W3 there is no problem. Can you help me please?

      • It is an Italian hosting which has its servers in London, uses Apache, and if I put Page Cache on disk basic (w3 total cache), instead of Disk enhanced it works…any idea?

        • I think they don’t support W3 total cache fully, I would suggest you to try the wp super cache plugin along with better minify plugin to solve these issues.

          • Thanks a lot for your support Aditya…I also sent you a message on FB. I will try WP Super Cache with Better Minify, I would have preferred W3 Total Cache, about it, what do you think if I put Page Cache on Disk Basic instead on Disk Enhanced? It seems working…Can I contact you if I have any problem?

  31. Hello,

    Thanks for the guide- I followed the settings however my load time is 3.21sec. What else can I do to speed up my site?

    • You can try Cloudflare for your website, if configured properly then it can lead to significant speedup!

  32. Hi,
    Thank you for the great post Aditya. W3 Total Cache works for one of my site very good. I would like to use this for a BBPress Forum site also, where all pages (forum pages, blog pages, normal wp pages) are only visible for logged in users. My question is: when I want to show the cached (speedy) pages to my visitors, may I disable this option under Page Cache?:
    • Don’t cache pages for logged in users
    Unauthenticated users may view a cached version of the last authenticated user’s view of a given page. Disabling this option is not recommended.

    Is that mean, for example, that a visitor, who is not logged in, will see the given page, which is allowed only to see for logged in users?
    Is that mean, it makes no sense to use W3Total Cache for a site, where all the content is only for logged in users? Or is there a settings, to solve that problem?

    Thank you very much

    • In the above case it would be true that W3 Total Cache’s static caching methods won’t work great. But things like Database Caching, Object caching and minifying resources would still do a great degree of help in such cases. And you should also consider the fact that though you can’t cache all of the content after a degree of authentication is required you can still have the static resources like images, fonts, icons cached if you use any good CDN or even free CDN like Cloudflare. The key to maintain scalability in such a site would be to have optimized code in terms of the overall template, server setup and a lot of other things. Do comment if you still have any doubt left Agnes! 🙂

  33. Until reading your article, W3 Total Cache was a great unknown for me, but now I slowly start to understand what is all about.
    Now I start to understand why Google sent me so many messages to minify my images, check the load time and so on, some of them were related with W3 Total Cache.

  34. Hi, this is a great tutorial and it helps me a lot to configure the settings. But on the part of database and object caching, you must put a warning for those using shared hosting account that it is best NOT to enable it. It made my website temporary restricted due to high I/O resources. Wanted to share this to others to avoid issue I encountered in hostgator.

    • You must not enable object caching on shared hosting while database caching can help in some instances! But yeah this is a warning that should go out clear to everyone who has their websites on shared hosting using W3 total cache plugin.

  35. I forgot to ask what is the diferrence of not enabling the “Set entity tag (eTag)” in perfomance tab where in some tutorials they make it enable?

    • It makes a lot of difference because if you have not set far future expires header then only you need to set up Entity tags. Not using Entity tags and in it’s place setting browser cache to over 1 year of expiration date makes for a best performance practice.
      If you have any more doubts do let me know! 🙂

  36. I use Wp Rocket for my websites also i use total cache on my other websites. They have same result but for those who owns website there if you want a fast loading website always optimized your images . Dont depend to much cache plugins 🙂

  37. WordPress core doesn’t perform well on its own. To improve its performance we can add caching rules on various elements of the website and at the server level.
    The most easiest way to add caching to WordPress is by using caching plugins, and one of the most popular is W3 Total Cache.
    W3TC has a lot of settings, each with its own benefits. For a quick guide on W3TC setup, refer to this guide!

  38. Hi Dear, I am using w3tc on my vps which is on a really slow server. After installing W3TC my home page content did not update. As I daily update new content. Please help!

    • Slow pages are generally ranked lower in Google SERPS, so clearing cache a lot of times does have a negative effect on site speed but not so much as to decrease your SERPS on a permanent basis. Or you can look for another caching plugin like WP Super Cache or Wp-Rocket which have the option to preload page cache.

  39. Hello Aditya! Really thanks for your reply. Can you please tell me that using W3TC would hurt my keyword rankings in google serp or not?

  40. Your auto is super, I get this error : “It appears Minify URL rewriting is not working. Please verify that the server configuration allows .htaccess
    Unfortunately minification will not function without custom rewrite rules. Please ask your server administrator for assistance. Also refer to the install page for the rules for your server.” do you understand why ?
    Thank you

  41. Many many Thanks Aditya for telling W3 Total Cache Plugin. Just i have downloaded this plugins and installed in WP. and it working.

  42. Thanks for writing this tutorial on how to setup and decrease a blog load time using W3 total cache.

    I use this same plugin on one of my blogs, the resulting speed of the blog is awesome.

    Although thbhacking dot com I have seen many people complain about this plugin that it sometimes conflict with other wordpress plugins.

    I don’t know if you have experienced this in person?

  43. I posted a comment on above sites and got instant approval on many blogs commenting sites, these settings worked for my blog as well!


Leave a Comment

Discover more from Inspire2Rise

Subscribe now to keep reading and get access to the full archive.

Continue reading