How to set expiration headers for CSS, JS and images for blogspot

I checked my site with Google page speed.

He said: Indicate the duration of my resources.

Can someone tell me how to use browser caching for a blogger?

+5
source share
2 answers

You cannot set a custom expiration for resources served by Blogger - this part has already been done for you by Google servers. Having said that, if you are serving content from third-party domains ( you ), then you should consider the possibility of compression and caching on these hosts.

, - ex, , .

+4

expires . Google App Engine ( ), expires webapp-web.xml 10 .

<include path="/assets/**.css" expiration="10d" /> 
<include path="/assets/**.js" expiration="10d" /> 

, , expires Blogger.

Google , CSS JS. pagepeed JS CSS, Google. 94.

: , .

CSS JS - , , expires header, - Apache .

+1

All Articles