I am thinking about implementing caching mechanics for asp.net mvc pages that gives you the latest version of a web page, but if the page didn't changed since the last time it was cached, it will return the cached result.
By the way, I wonder what are the limits of OutputCacheAttribute caching - many Locations can be used - Client Side, Server Side, Down Streaming, Any (default) and more. I wonder which is the fastest option, because I don't know what is the client side limitations - if it can store all the cached data I think it will definitely be the best caching location. So what data can be stored in each location?
A nice idea I came with is saving the last viewed page version of a certain address as hash inside a cookie, so when the user requests a page, I might give him the cached result if its hash didn't change. but If I calculate the current page hash, it might save traffic, but it still consume time for the server to process the request, so I still not sure what is the best way to implement it and how to yield the best results.
Both insights and ideas for implementing this as sophisticate as possible would be awesome.