You’ve misunderstood the purpose of my plug-in. Hosting the analytics file locally, gives you the power to decide the browser cache expiration time for it.
Apparantly, your server (or caching plugin) has the browser cache for set to 2 days for JS-files.
Try adjusting the settings of your browser cache (usually located in your.htaccess file) or try a different caching plugin (I suggest wp fastest cache or W3TC if you’re on vps or dedicated server).
Good luck!
Thanks, Daan! Solved by changing browser cache expiration time for javascript in .htaccess and now scoring 100/100+100/100. Yay!
No problem, Ron! Glad to see my advice worked for you! 🙂
Maybe you could leave a 5-star review for the plugin here?
It’s about this file, isn’t it?
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault “access plus 5 seconds”
ExpiresByType image/x-icon “access plus 2500000 seconds”
ExpiresByType image/jpeg “access plus 2500000 seconds”
ExpiresByType image/png “access plus 2500000 seconds”
ExpiresByType image/gif “access plus 2500000 seconds”
ExpiresByType application/x-shockwave-flash “access plus 2500000 seconds”
ExpiresByType text/css “access plus 700000 seconds”
ExpiresByType text/javascript “access plus 700000 seconds”
ExpiresByType application/javascript “access plus 700000 seconds”
ExpiresByType application/x-javascript “access plus 700000 seconds”
ExpiresByType text/html “access plus 600 seconds”
ExpiresByType application/xhtml+xml “access plus 600 seconds”
ExpiresByType font/truetype “access plus 2500000 seconds”
ExpiresByType font/opentype “access plus 2500000 seconds”
ExpiresByType application/x-font-woff “access plus 2500000 seconds”
ExpiresByType image/svg+xml “access plus 2500000 seconds”
ExpiresByType application/vnd.ms-fontobject “access plus 2500000 seconds”
</IfModule>
# END Expire headers
And if yes, what is the good setting?