Best W3 Total Cache Settings for AdSense 2020

Today Best W3 Total Cache Settings for AdSense 2020 plugin is the most important for WordPress site, because without the cache plugin is not possible to stabilize the performance of the site. A cache plugin incredibly increases your site performance & decreases your server load. Speed of website plays an important role for user experience and SEO (Search Engine Optimization). If Speed of your website good then your site gets higher ranking in the search engines.

Many cache plugins are available for WordPress self hosted site, in which W3 Total Cache, WP Super Cache, Zen Cache, WP Fastest cache & Hyper Cache plugin are mainly used. All cache plugins have their own strengths but any other cache plugin does not have option such as option available in W3 Total Cache. W3 Total Cache has a complete cache plugin. Along with the Page cache, Data base cache, Object cache, Minify cache, Browser cache it also offers CDN (content delivery network) and Cloudflare connectivity. Therefore it is most popular cache plugin. We can predict that the total cache has been installed more than 1 million. And still its rating is 4.5.

W3 Total Cache plugin is the best cache for WordPress but it causes problems for Google AdSense. I have more than a month used AdSense with w3 total cache, and my AdSense earnings suddenly dropped 30 to 50 percent but number of page views increased. I did not understand, what went wrong. So I uninstalled it, and then my AdSense earnings returned to normal stage. Then I repeated changes in w3 total cache settings and i found that W3 total cache also minify javascript codes because AdSense uses Javascript codes to serve ads and W3 Total cache minify the javascript codes, so therefore It impacts your Google AdSense codes & it affect our AdSense earning. If you are using AdSense for your blog monetization then it is necessary that make some changes in your W3 Total Cache settings.

Best W3 Total Cache Settings for AdSense 2020

Go to your network admin dashboard & in the performance click on general settings-

Best W3 Total Cache Settings for AdSense 2020
Best W3 Total Cache Settings for AdSense 2020

 

Page Cache:-

  • Page Cache:- Checked.
  • Page cache method:- Disk: Enhanced

Save all settings

Best W3 Total Cache Settings for AdSense 2020
Best W3 Total Cache Settings for AdSense 2020

 

Database Cache- Don’t Enable

Object Cache- Don’t Enable

Note:- Some web hosting companies such as Hostgator does not allow Database Cache and Object Cache, Because it has excessive load on their servers. Therefore, before turning on them, It is important to ask your web hosting company. If they allow you to do so, then you can enable them. Also sometimes the Object Cache and Database Cache also makes slow down performance of your website. Therefore, it is necessary to enable them also to check the performance before and after.

Best W3 Total Cache Settings for AdSense 2020
Best W3 Total Cache Settings for AdSense 2020

 

Minify –

In my opinion don’t Enable Minify, you’ll get more good results if you disable Minify. However if you really want to enable Minify then try these settings-

  • Minify:- Checked.
  • Minify mode:- Manual
  • Minify Cache Method:- Disk
  • HTML minifier:- Default
  • JS minifier:- JSMin (Default)
  • CSS minifier:-Default
Best W3 Total Cache Settings for AdSense 2020
Best W3 Total Cache Settings for AdSense 2020

 

Recommended Posts

Browser Cache:-

Browser Cache:- Checked.

Save all settings

Best W3 Total Cache Settings for AdSense 2020
Best W3 Total Cache Settings for AdSense 2020

Page Cache Settings

  • Cache front page:- Checked
  • Cache Feeds site, categories, tags, comments:- Checked
  • Cache SSL ( https) requests:- Unchecked
  • Cache Urls with query string variables:- Unchecked
  • Cache 404 (not found) pages:- Unchecked
  • Cache requests only for www.domainname.com site address: Unchecked
  • Don’t cache pages for logged in users:- Checked
  • Don’t cache pages for following user roles:- Select users according to your convenience.

Save all settings

Best W3 Total Cache Settings for AdSense 2020
Best W3 Total Cache Settings for AdSense 2020

Cache Preload Setting –

  • Automatically prime the page cache: Checked
  • Update interval: 900 seconds
  • Pages per interval: 10
  • Sitemap URL: Enter your current xml sitemap url.
  • Preload the post cache upon publish events: Checked

Save all settings

Best W3 Total Cache Settings for AdSense 2020
Best W3 Total Cache Settings for AdSense 2020

 

Minify Settings:-

Update: If you have not enabled Minify setting above then leave these additional Minify settings as it & don’t change anything.

Minify removes unnecessary white space and line breaks from the HTML, CSS and JavaScript code and stores them as cache. therefore these codes gets loaded quickly. Many times it happens that minify breaks the theme appearance. So it is very important that should be set correct setting for minify. It is also important that if you are using AdSense for monetization, then it would be appropriate to disable JavaScript Minify setting.

General:-

  • Rewrite URL Structure:- Checked
  • Disable minify for logged in users:- Checked
  • Minify error notification:- Disabled

HTML & XML:-

HTML minify Settings:-

  • Enable:- Checked
  • Inline CSS minification:- Checked
  • Inline JS minification:- Unchecked
  • Don’t minify feeds:- Checked
  • Line break removal:- Checked

All other:- Leave as default.

Best W3 Total Cache Settings for AdSense 2020
Best W3 Total Cache Settings for AdSense 2020

JS:-

JS minify settings:- Unchecked (Don’t enable this if you are using Adsense)

Best W3 Total Cache Settings for AdSense 2020
Best W3 Total Cache Settings for AdSense 2020

CSS:-

CSS minify settings:-

  • Enable:- Checked
  • Combine Only:- Unchecked
  • Preserved comment removal (not applied when combine only is active):- Unchecked
  • Line break removal (not applied when combine only is active):- Checked
  • All other settings- Leave as default.

Save all settings

Best W3 Total Cache Settings for AdSense 2020
Best W3 Total Cache Settings for AdSense 2020

Browser Cache:-

  • Set Last-Modified header:- Checked
  • Set expires header:- Checked
  • Set cache control header:- UnChecked
  • Set entity tag (eTag):- Unchecked
  • Set W3 Total Cache header:- UnChecked
  • Enable HTTP (gzip) compression:- Checked
  • All Others:- Leave as it.

Save all settings

Best W3 Total Cache Settings for AdSense 2020

Best W3 Total Cache Settings for AdSense 2020

Now you are all done, Leave all the other options as default, no need to change anything else.

Also clear all cache- click on Performance Menu>>Click on Empty All Caches.

After using above settings there will be no problem for your AdSense earnings.

Leave a Reply

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