开发者

Caching problem

开发者 https://www.devze.com 2022-12-15 20:45 出处:网络
I have a web page with a set of images and java script files. I want to cache all the images+java script other than a single image which is the logo.

I have a web page with a set of images and java script files.

I want to cache all the images+java script other than a single image which is the logo.

Is this possible ? and how wou开发者_StackOverflow中文版ld I do it ?

I am using IIS server.


Yes. Just configure your server to have a default cache configuration for images and JS, and then override it for the logo. Possibly with a <file> block if you are using Apache.

See this decent caching tutorial.

0

精彩评论

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