开发者

The following resources are missing a cache expiration How to set cache expiration for javascript file?

net application. I'm using external javascript files in my application. When I test my site with page speed tool from google it says that following resources are missing a cache开发者_C百科 expiration. also some of the images and css files.

Can you give me please some examples how to set it and where exactly I need to set it.


you can find what you are looking for right here: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/0fc16fe7-be45-4033-a5aa-d7fda3c993ff.mspx?mfr=true

Setting the expiration data on files will "order" the browser to save those in cache for X amount of days. you can set this header on File/Folder

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜