How to force page not to be cached in PHP

header function

header('Expires: Fri, 01 Jan 1990 00:00:00 GMT');
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0, pre-check=0, post-check=0');
header('Pragma: no-cache');
//...
Categories: PHP Tags: , , , ,
%d bloggers like this: