]> git.mjollnir.org Git - s9y.git/commitdiff
Enabled CacheControl by default
authorgarvinhicking <garvinhicking>
Tue, 10 Apr 2007 09:20:21 +0000 (09:20 +0000)
committergarvinhicking <garvinhicking>
Tue, 10 Apr 2007 09:20:21 +0000 (09:20 +0000)
docs/NEWS
serendipity_config.inc.php

index 3166a7c0365908b334d19986af69b805a0f5907a..33ab2183de8a9b466402439424b79bf9c690d8b1 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,8 @@
 Version 1.2 ()
 ------------------------------------------------------------------------
 
+    * Enabled setting cache-control headers by default.
+    
     * Fix wrong next/previous page links when using wrapper.php indexFile
       option. (garvinhicking)
 
index 7e0d5d0b7e3d0e0d4e6ac875f2bea4bb2747d486..ac2a609f81c24999d7b1e5493aad696b88a6305b 100644 (file)
@@ -97,7 +97,7 @@ if (!isset($serendipity['useHTTP-Auth'])) {
 }
 
 if (!isset($serendipity['CacheControl'])) {
-    $serendipity['CacheControl'] = false;
+    $serendipity['CacheControl'] = true;
 }
 
 if (!isset($serendipity['expose_s9y'])) {