diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 4e23347..d7e9c58 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -1498,9 +1498,11 @@ function drupal_page_header() { } $headers_sent = TRUE; + $cache_control = variable_get('page_header_default_cache_control', 'no-cache, must-revalidate'); + $default_headers = array( 'Expires' => 'Sun, 19 Nov 1978 05:00:00 GMT', - 'Cache-Control' => 'no-cache, must-revalidate', + 'Cache-Control' => $cache_control, // Prevent browsers from sniffing a response and picking a MIME type // different from the declared content-type, since that can lead to // XSS and other vulnerabilities.