After a user logs out, if they hit the back button, they can go back to the last page they were on before logging out.
The app I am working on will often be used on
Being on Rails, you can easly setup everything placed in the public
folder with an aggressive cache, and cherry-pick what else can be safetly cached, like the public "about" page.
You should set Cache-Control: no-cache
to prevent the browser to cache HTML pages, XML, JSON containing sensitive informations (basically anything that is accessible only with a proper login) and set a more aggressive cache for static assets like css and images.