summaryrefslogtreecommitdiffstats
path: root/sites
diff options
context:
space:
mode:
authorDries Buytaert2010-10-11 23:49:48 (GMT)
committerDries Buytaert2010-10-11 23:49:48 (GMT)
commit563c673ea3b8977e9f739f7979acb62abcd78310 (patch)
tree8d8f6b6d2c066f8673d2b7c5960311368a58d269 /sites
parentc54107146b0173a1c090fcac488081fe46de3512 (diff)
- Patch #101227 by mikeytown2, Owen Barton, grendzy: added Gzip aggregated CSS and JS.
Diffstat (limited to 'sites')
-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 29b1882..6ecc030 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