I would like for my site when someone clicks “Back” or “Forward” for the server to tell the browser to load the cache instead of reloading the entire page. I’ve tested some headers and done research, but I can’t seem to get this to function as intended.
Update:
The if-modified since header is not something I’d like to do. There’s got to be more general options when it comes to caching. Even if it doesn’t work in every browser (though that would be ideal) even just Firefox/Chrome would be excellent.
I think you’ll find that no matter what you do, the ‘Back’ button functionality may or may not listen…the functionality differs from browser to browser and isn’t up to the page being viewed.
There are plenty of tips and tricks for getting the browser to do what you want…but in the end it’s up to whoever coded the browser if they want to listen or not.