开发者

I installed expires header at IIS 7.5 but still do not show at Firefox firebug yslow or .net plugin

开发者 https://www.devze.com 2023-01-22 12:41 出处:网络
I did setup like this but result is still like this: Where do I make a mistake? it was casued by google analytics code. i had to setup this way

I did setup like this

I installed expires header at IIS 7.5 but still do not show at Firefox firebug yslow or .net plugin

but result is still like this:

I installed expires header at IIS 7.5 but still do not show at Firefox firebug yslow or .net plugin

Where do I make a mistake?


it was casued by google analytics code. i had to setup this way

var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-xxxxxxx-1'], ['_setDomainName', 'www.xxxxxxx.com'], ['_trackPageview']开发者_JS百科);


Of course the expires header won't show.

You have set up the webserver to expire content "after 14 days".

This will result in "Cache-control: max-age=xxxx" header. Not the "Expires" header.

0

精彩评论

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