summaryrefslogtreecommitdiff
path: root/sites/default
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-10-11 23:49:48 +0000
committerDries Buytaert <dries@buytaert.net>2010-10-11 23:49:48 +0000
commit563c673ea3b8977e9f739f7979acb62abcd78310 (patch)
tree8d8f6b6d2c066f8673d2b7c5960311368a58d269 /sites/default
parentc54107146b0173a1c090fcac488081fe46de3512 (diff)
downloadbrdo-563c673ea3b8977e9f739f7979acb62abcd78310.tar.gz
brdo-563c673ea3b8977e9f739f7979acb62abcd78310.tar.bz2
- Patch #101227 by mikeytown2, Owen Barton, grendzy: added Gzip aggregated CSS and JS.
Diffstat (limited to 'sites/default')
-rw-r--r--sites/default/default.settings.php15
1 files changed, 15 insertions, 0 deletions
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
@@ -378,6 +378,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:
*
* To override specific strings on your site with or without enabling locale