From e9f09bb3556cdf7930ddc50eb00872ebc5787c98 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Tue, 10 Apr 2007 09:20:21 +0000 Subject: [PATCH] Enabled CacheControl by default --- docs/NEWS | 2 ++ serendipity_config.inc.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/NEWS b/docs/NEWS index 3166a7c..33ab218 100644 --- 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) diff --git a/serendipity_config.inc.php b/serendipity_config.inc.php index 7e0d5d0..ac2a609 100644 --- a/serendipity_config.inc.php +++ b/serendipity_config.inc.php @@ -97,7 +97,7 @@ if (!isset($serendipity['useHTTP-Auth'])) { } if (!isset($serendipity['CacheControl'])) { - $serendipity['CacheControl'] = false; + $serendipity['CacheControl'] = true; } if (!isset($serendipity['expose_s9y'])) { -- 2.39.5