Client side caching using Last-Modified header and OutputCacheAttribute in asp.net mvc 3
问题 Edited I want to cache images on the client and know that there are different ways to do it in mvc 3: (correct me if I'm wrong) 1) You can use OutputCacheAttribute which works with the help of Expires http header. But it will return 304 Not Modified unless the time expire (even if the image was changed). 2) To avoid displaing stale images You can use Last-Modified http header (with OutputCacheAttribute ). In this case the browser sends the request to the server with If-Modified-Since http