Can someone explain to me how to set a cache for my page that if the user hits the back button and is offline or something then he will still see the previous page like on SO and most sites.
But how can i force that when a new HTTP request is sent, it will fetch a new one since the content changes by the minute (ie a forum)?
Thanks
I have finally discovered that for some reason putting a cache on all my pages,
will let them have a back button forever, however when the page is refreshed, it will still fetch a new one from the server.
Wierd, but it works!