我有使用以下标头提供的scriptresource.axd和webresource.axd文件,但它们永远不会被缓存:
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Mon, 27 Feb 2012 18:26:38 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Set-Cookie: IBA.NET=186661E187AA166417707A7A51716853DE5E800748512185BCCABB5D30F53A3545B3B423D3E86040BDFFCB50BF8A73868CA9887F9A9A1AE6C13002DF548444EC9A2B79298078B0DE3094F3C1304181CAB8D41E77C41F707611C9232A0947BD30BB4B7ECCE64B5CB8AA46D720F980961DDA3065796FB5E3D4E6773391C85556D919C84C20B360950D0B7BED18F6D32A8EFEC0E5E5F2440CE6BF57CF64EF94773A76BD0A46053412DC43A44BC22D99F8D1C92604C9E89289E736B15348944C95B554F3CED4|-1; path=/
Cache-Control: public, no-cache="Set-Cookie"
Expires: Tue, 26 Feb 2013 18:26:38 GMT
Last-Modified: Fri, 24 Feb 2012 14:16:48 GMT
Content-Type: application/x-javascript
Content-Length: 84019
我正在使用<compilation debug="false">
和<scriptResourceHandler enableCompression="true" enableCaching="true"/>
运行该应用无效。
有什么想法吗?