At some point in time when you are running speed tests with your website you will most likely encounter the all popular “leverage browser caching” warning in Google PageSpeed Insights. And we are referring to the one originating from Google’s
<include expiration='7d' path='*.css'/>
analytics.jsscript. In this post today we are going to show you a couple options on how to easily setup local analytics to fix this warning. Depending upon your environment you might also see a slight performance improvement. We have also included a new way to more easily do this for those of you running Blogspot.
How to Fix GA Leverage Browser Caching WarningNormally the way we would fix a leverage browser caching warning would be to simply add expires headers. However, since this is a 3rd party script hosted on Google’s servers we have no control over the headers. There are two different options below you can use to fix this warning.
So! how to fixed It?This rule triggers when Page Speed Insights detects that the response from your server does not include caching headers or if the resources are specified to be cached for only a short time.
Follow this step .1. Go to Blogger Dashboard
2. Click on Themes
3. Click on Edit HTML
4. find Clrt+F " <b:skin><![CDATA[ " Paste Cache Coding Above this Yellow Code.