From 563c673ea3b8977e9f739f7979acb62abcd78310 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 11 Oct 2010 23:49:48 +0000 Subject: - Patch #101227 by mikeytown2, Owen Barton, grendzy: added Gzip aggregated CSS and JS. --- sites/default/default.settings.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'sites/default') diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php index 29b1882ef..6ecc030d9 100644 --- a/sites/default/default.settings.php +++ b/sites/default/default.settings.php @@ -377,6 +377,21 @@ ini_set('session.cookie_lifetime', 2000000); */ # $conf['omit_vary_cookie'] = TRUE; +/** + * CSS/JS aggregated file gzip compression: + * + * By default, when CSS or JS aggregation and clean URLs are enabled Drupal will + * store a gzip compressed (.gz) copy of the aggregated files. If this file is + * available then rewrite rules in the default .htaccess file will serve these + * files to browsers that accept gzip encoded content. This allows pages to load + * faster for these users and has minimal impact on server load. If you are + * using a webserver other than Apache httpd, or a caching reverse proxy that is + * configured to cache and compress these files itself you may want to uncomment + * one or both of the below lines, which will prevent gzip files being stored. + */ +# $conf['css_gzip_compression'] = FALSE; +# $conf['js_gzip_compression'] = FALSE; + /** * String overrides: * -- cgit v1.2.3