i want to assign following code to all views in laravel 5.0. this code is in php but i want similar like this in laravel 5.0
//set headers to NOT cache a page
header("Cache-Control: no-cache, must-revalidate"); //HTTP 1.1
header("Pragma: no-cache"); //HTTP 1.0
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
i could not find solution for cache issue when user clicks on browser back button.
your help would be appreciable
thanks