How to prevent a page being cached in ALL browsers

The following works fine in Safari but not Google Chrome.

header(“Expires: Mon, 26 Jul 1997 05:00:00 GMT”);
header(“Last-Modified: Tue, 15 Nov 2007 12:45:26 GMT”);
header(“Last-Modified: " . gmdate(“D, d M Y H:i:s”) . " GMT”);
header(“Cache-Control: private, no-store, max-age=0, no-cache, must-revalidate, post-check=0, pre-check=0”);
header(“Pragma: no-cache”);

It sure would be helpful if the major browsers followed a few simple standards. What is the best way to make sure a page is not cached across ALL major browsers?

Thanks!

These lines will be good enough for PHP on server:

<?php

header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
?>

But some other questions:

  • Are you in a proxy cache?
  • Do you use cache in other ways: apache, nginx, .htaccess
  • Are you under CDN?