title: Prevent back button after logout
body: <p>I don't want the user to go back to secured pages by clicking back button after logging out. In my logout code, I am unsetting the sessions and redirecting to login page.But, I think the browser is caching the page so it becomes visible despite the session being destroyed from logout.</p>
  
  <p>I am able to avoid this by not allowing the browser to cache</p>
  
  <p><code>header("Cache-Control", "no-cache, no-store, must-revalidate")</code></p>
  
  <p>But this way I am loosing the advantage of Browser Caching.</p>
  
  <p>Please suggest a better way of achieving this. I feel, there must be a way of handling this by javascript client side</p>