The following resources do not expire the cache. How to set cache expiration time for javascript file?

net application. I use external javascript files in my application. When I test my site using the page speed tool from Google, it says that the following resources do not expire the cache. also some of the images and css files.

Can you give me some examples of how to install it and where exactly do I need to install it.

+3
source share
1 answer

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

Setting expiration data in files will “order” the browser to be stored in cache for X days. you can set this header in file / folder

+2
source

Source: https://habr.com/ru/post/1753178/


All Articles