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
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.
精彩评论