Caching images with asp/http
- by Dmitry Makovetskiyd
I want to cache all the images on my site, so I used this code:
<%Response.AddHeader "Expires","Tue, 2 October 2013 00:00:00 GMT"%>
The problem is that google says the images are not cached, whenever I go to this site:
https://developers.google.com/speed/pagespeed
Also in chrome, I can see that it gives a Get response for all the images.
Why is that and how can I cache the images for the next year.