Index: bootstrap.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v retrieving revision 1.100 diff -u -p -r1.100 bootstrap.inc --- bootstrap.inc 14 Jun 2006 14:01:12 -0000 1.100 +++ bootstrap.inc 21 Jun 2006 09:53:45 -0000 @@ -382,7 +382,16 @@ function drupal_load($type, $name) { * @see page_set_cache */ function drupal_page_header() { - if (variable_get('cache', 0)) { + global $user; + + if (isset($user->uid) && $user->uid > 0) { + header("Expires: Sun, 19 Nov 1978 05:00:00 GMT"); + header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); + header("Cache-Control: no-store, no-cache, must-revalidate"); + header("Cache-Control: post-check=0, pre-check=0", false); + header("Pragma: no-cache"); + } + elseif (variable_get('cache', 0)) { if ($cache = page_get_cache()) { bootstrap_invoke_all('init'); // Set default values: