George
George

Reputation: 101

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 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.

Upvotes: 3

Views: 1962

Answers (1)

KensoDev
KensoDev

Reputation: 3285

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

Upvotes: 2

Related Questions