From fa8a24491f2b11e171d63daebac26d7f489727ed Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sun, 15 Feb 2009 15:27:55 +0000 Subject: [PATCH] optimize : enable compression, and expires on non-php content --- httpd.conf | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/httpd.conf b/httpd.conf index 8536898..2240a7b 100644 --- a/httpd.conf +++ b/httpd.conf @@ -45,9 +45,17 @@ DirectoryIndex index.php # Reduce the time dynamically generated pages are cache-able. - - ExpiresByType text/html A1 - +# note: drupal's botstrap.inc does: header("Expires: Sun, 19 Nov 1978 05:00:00 GMT"); +# so forget about optimizing php content +ExpiresActive On + +ExpiresDefault "access plus 12 hours" + + +# Turn on gzip compression + +SetOutputFilter DEFLATE + # Various rewrite rules. -- 2.43.0