Live fix: cache header tweak
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 2 Apr 2006 03:55:24 +0000 (03:55 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 2 Apr 2006 03:55:24 +0000 (03:55 +0000)
includes/AjaxFunctions.php

index 5d95820..7ed6bdc 100644 (file)
@@ -90,7 +90,7 @@ class AjaxCachePolicy {
                        header ("Pragma: no-cache");                          // HTTP/1.0
                } else {
                        header ("Expires: " . gmdate( "D, d M Y H:i:s", time() + $this->policy ) . " GMT");
-                       header ("Cache-Control: public,max-age={$this->policy}");
+                       header ("Cache-Control: s-max-age={$this->policy},public,max-age={$this->policy}");
                }
        }
 }