Hi all,
I am trying the figure out why the images (or js, or css) in the _layouts directory are not cached by either IE or FF.
The authentication on the site collection is NTLM. The _layouts folder has anonymous access enabled in IIS.
If I debug with fiddler a page that has been loaded before, I can see the following requests:
GET /_layouts/MyApplication/Images/newProject.png HTTP/1.1 401 Unauthorized
GET /_layouts/MyApplication/Images/newProject.png HTTP/1.1 401 Unauthorized
GET /_layouts/MyApplication/Images/newProject.png HTTP/1.1 200 OK
...
Cache-Control: max-age=31536000
Last-Modified: Tue, 09 Feb 2010 14:40:01 GMT
ETag: "5945d7c295a9ca1:3d0416"
...
This happens for each subsequent access of the page. Do you have any idea why the image is not cached?
Thank you