Bizarre Truth About How To Setup W3 Total Cache

Bizarre Truth About How To Setup W3 Total Cache

So like to understand on “How To Setup W3 Total Cache” Plugin?

W3 Total Cache the greatest and one of best Caching plugin to speed up your WordPress Blog or Site hands down. Now let us look at on how to setup w3 total cache and of course Wp-Super Cache is great as well. W3TC plugin can and will improve your website’s speed dramatically, but lots of users that download and install this plugin they do not know how to set it up the right way and end up uninstalling it and never use it. We will demonstrate what is the best way to setup W3 Total Caching plugin on any popular hosting plan, which is what most people use and the safest way not to crash your website. To add a note did you know that W3 total cache is made by one of the CEO from Mashable?

Overview of the safest setup for w3tc caching plugin on popular shared hosting providers such as Hostgator or Arvixe and any VPS Cloud setups like DigitalOcean.

– In Extension’s enable Yoast Extension if your using Yoast SEO Plugin.
Setting up Page and Browser Cache: easy method no errors and fast Loading times
Minification settings: advanced technical, themes might not support this settings.
CDN Content Delivery: off loading our CSS & Java Script Files to the cloud’s
Recommend not using Database or Object Caching on Shared Hosting
Extra tweaks to make W3TC perform even better with SSL HTTPS Certificate if used.
Screenshot images if you scroll down more!

W3TC General Settings / Enabling Page Cache and Browser Caching

In General Settings: Enable only Page Cache and Browser Cache. This is actually the best settings for shared hosting, since you only have limited control across your hosting account. Even hosting company’s recommend to disable Object Cache and Database Caching. However, you don’t have to panic about enabling only Page and Browser cache and leaving Minify untouched since minification has only little effect on page load time. Minify settings often cause theme incompatibility and some errors. It’s also not a big deal to leave Object Cache and Database Cache untouched unless you want things to be over complicated that your server pretty much can’t handle. These two settings will generate HTML files and the server only has to load those cached files instead of making a request to the database and compile the WordPress code each and every time to show pages for your visitors, so with these settings your server has to load 10 times less and it is ideal for single websites or blogs. Also worth mentioning is that most shared hosting providers have traffic spikes and their database slows down to the point where your site will not even load, but if you have cached HTML version of your WP site then that is not an issue and your website can handle many thousands of visitors without any issues. Alright then it’s time to go on to the settings now.

These configurations that we are about to demonstrate here are perfect setups for shared hosting as well VPS cloud servers, please be not fooled by all the other guides out there because in reality if you follow the first two steps your site can handle 10,000k – 50,000k visitors on a 5$ VPS or equalant shared hosting and your visitors will thank you for it! Apache or Nginx will love this type of caching which is almost all hosting company’s setup or even your own VPS server.

Page Cache General

  • Cache front page: For many blogs this is your most visited page, it is recommended that you cache it.Cache feeds: site, categories, tags, comments.
    Even if using a feed proxy service, enabling this option is still recommended.
  • Cache SSl Uniquely: Turn this on if you use SSL Certificate on your site: Cache SSL (https) requests
    Cache SSL requests (uniquely) for improved performance.
  • Cache URIs with query string variables search result (and similar) pages will be cached if enabled: Usually this is Off by default or Greyed out, we leave query string caching off.
  • Cache 404 (not found) pages: leaving this off is best option specially because of SEO: Cache 404 (not found) pages
  • Cache requests only for site address: Check this on if your running one website or root domain such as, how ever if you are running Multi-Site setup like our website this option is most likely greyed out or off by default. For most single WordPress websites this should be turned on.
  • Don’t cache pages for logged in users: enable this for best results and fresh live data when you edit your website or have multiple authors on your website. Unauthenticated users may view a cached version of the last authenticated user’s view of a given page. Disabling this option is not recommended.
  • Don’t cache pages for following user roles: for single sites choose Administrator and editor and so on, for sites with many other authors enable most users, i wouldn’t worry about subscribers.

Cache Preload

  • Automatically prime the page cache: enable this setting
  • Sitemap URL: give only the url for your site map after your domain name like /sitemap_index.xml for example that is Yoast plugins sitemap.
  • Preload the post cache upon publish events: you want to refresh the cache when you post a new article or page, it helps to get Google’s Bot come right back to your site for Quick SEO and article inclusion to search engines.

Purge Policy

Page Cache leaving this as Default works just great.

Advanced Settigns

  • Late initialization: leave this off this setting is usually greyed out or off by Default anyways.
  • Compatibility mode: decreases performance by ~20% at scale in exchange for increasing interoperability with more hosting environments and WordPress idiosyncrasies. This option should be enabled for most sites. Turning this on Can Help in certain situations and with different hosting company’s you can turn it on and run a Speed test on your site to see if it helps generate cache faster or any performance gains by using Compatibility mode.
  • Disable UTF-8 blog charset support: resolve issues incorrect odd character encoding that may appear in cached pages. Leaving it off is best W3tc setting
  • Disable caching of HEAD HTTP requests: If disabled, HEAD requests can often be cached resulting in “empty pages” being returned for subsequent requests for a URL. This setting is disabled or greyed out by most hosting providers leaving it off is fine.
  • Garbage collection: for a medium site with couple thousand or less traffic leave default numbers will work well. For the busier sites set the time to a higher amount to reduce server load because rebuilding the cache is actually high resource usage.

Browser Cache Settings

This setting is enabled as soon as you install the W3TC plugin. Let us fine tune this excellent plugins settings to get the most out of this configuration tab.

  • Set Last-Modified header: turn this on how ever should be on by default.
  • Set expires header: check mark this setting as well to set expires to encourage browsers to to cache our site.
  • Set cache control header: set this on as well
  • Set entity tag (eTag): check marking this setting is highly recommended and works great.
  • Set W3 Total Cache header: i like leaving this on off only enable if you are troubleshooting so you can find files that are optimized with W3TC.
  • Enable HTTP (gzip) compression: should be on by default but make sure it is on.
  • Prevent caching of objects after settings change: leave this one off.
  • Don’t set cookies for static files: check this setting on for better cookie handling.
  • Do not process 404 errors for static objects with WordPress: leave this setting off.

Now Click click save all settings and it should apply all settings to CSS & JS, HTML & XML, MEDIA & Other Files section more down on the setting tab. This configuration will cache all your CSS and Java files including compress the static HTML files that are created and everything will be cached perfect.


So now that we configured our W3 Total Cache to perform best on any shared or small VPS hosting and you are more adventurous, or like even more speed and are a performance enthusiast like me, well then keep reading on. You can set minify on manual in the general option tab and not auto but manual and set java scripts to load defer parsing async so the website loads the text and HTML first and then the JavaScript.

Advanced W3TC Setup for Minify Configuration

Me personally recommend default on before /body and after body tags.  This will reduce the blocking of the page and will appear almost instantly to viewers.

Manual Minify Settings

  • Rewrite URL structure: Check this to on
  • Disable minify for logged in users: for testing leave it off, once all setup you can leave it for faster WordPress Dashboard and just smoother experience.


  • HTML minify settings: check on enable, inline CSS minification, inline JS minification and line break removal. now you need to be be careful with this setting this can and brakes many themes or plugins styling. If things look wrong on your site then just leave HTML enable and the rest off.


Only Enable theses two leave the other settings alone such as minify or combine only. Now the trick is go back up top and click on help button where it says (Get minify hints using the help wizard), it will take some time to load so just be patient and font freak out. This will show all your Javascript files and CSS files. Check mark them and apply the settings. Now this will combine all your JS & CSS files into one java file and one css file. This should lower requests as well make the site load faster and hopefully all parts of your website will work properly.

Clear all your cache and check your site if everything works fine.

CDN Content Delivery Network Settings

If you have Amazon S3 or Cloudfront you can add your credentials and use that option. CDN will boost your speed the most.
How ever we show you here what settings you will need to make your WordPress blog Fly like a rocket with CDN!
First thing first Choose your CDN provider on the General Settings Page, the preferred method is Pull/Origin and not Push.
Head over to the CDN Settings Page and these Steps are very important because you don’t want to serve logged in information to your visitors, as well these settings are the most optimal way to make your site fly and safe!

  • Host attachments: Check this to on, this will make sure your pictures are served from your CDN company.
  • Host wp-includes/ files: turn on so files load much faster off the cloud.
  • Host theme files: check as well to on.
  • Host minified CSS and JS files: very important if you want more speed turn this on for sure.
  • Host custom files: this as well to on
  • Import external media library attachments: DO NOT TURN THIS FEATURE ON, it is going to brake many images you used as url just please leave it off for your own sake.
  • Add canonical header: Yes turn on for better SEO and duplicate requests.


All you have to do here is set cookie domain to “”, you can leave the Disable CDN on SSL pages unless you use ssl and pages and want to disable cdn on those pages. As for Disable CDN for the following roles i like my websites faster even when in WordPress dashboard so i prefer to have it on.


Bottom line is make sure Object Cache and Database cache is off, only turn on Object cache if you have over 10,000 posts on your site but then turn off page caching by disk and need to use memory caching such as APC or the new PHP5.5 and up ZendCache if the hosting company has it enabled, how ever memory caching is optimal for busy websites that have many writers and content gets published more then once a day with tons of visitors. Use Disk (Enhanced) settings, how ever you should make sure with your hosting provider if they support basic or Disk enhanced or some other caching they could enable for you like APC. This is how we configure all our local business website clients for SEO in Fort Lauderdale Florida and make sure their sites are fast loading and get the most leads or costumers to their door’s.

So speak your mind’s express opinions on How To Setup W3 Total cache Plugin? On this famous CMS (content management system) WordPress for our carefully and with love crafted article. Let me know if i missed anything or have any question regarding this performance tricks with w3tc caching plugin for high Google page speed which is important for SEO now days on our major search engine’s.

Have a look at our our services what Yolo Seo has to offer: web-design, computer repair in Fort Lauderdale, Florida area.

Bizarre Truth About How To Setup W3 Total Cache
G+ Share Tweet Share Pin It

Leave a Reply

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