diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-04-29 22:39:00 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-04-29 22:53:59 +0530 |
commit | 4a5bef22dac5fe9fad58065006a231746d73689f (patch) | |
tree | 84837c660c230cda5c19c3a08cc371e0a74f3e50 /guides/source/configuring.md | |
parent | f0a6cce78eacec932111f726cec95bb1f42a4644 (diff) | |
download | rails-4a5bef22dac5fe9fad58065006a231746d73689f.tar.gz rails-4a5bef22dac5fe9fad58065006a231746d73689f.tar.bz2 rails-4a5bef22dac5fe9fad58065006a231746d73689f.zip |
Document config.assets.gzip flag. Follow up of https://github.com/rails/sprockets-rails/pull/342.
[ci skip]
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r-- | guides/source/configuring.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index bb07bc2ca1..7ec55e8665 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -163,6 +163,8 @@ pipeline is enabled. It is set to true by default. * `config.assets.js_compressor` defines the JavaScript compressor to use. Possible values are `:closure`, `:uglifier` and `:yui` which require the use of the `closure-compiler`, `uglifier` or `yui-compressor` gems respectively. +* `config.assets.gzip` a flag that enables the creation of gziped version of compiled assets, along with non-gziped assets. Set to `true` by default. + * `config.assets.paths` contains the paths which are used to look for assets. Appending paths to this configuration option will cause those paths to be used in the search for assets. * `config.assets.precompile` allows you to specify additional assets (other than `application.css` and `application.js`) which are to be precompiled when `rake assets:precompile` is run. |