mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
commit
963e3e0b88
2 changed files with 3 additions and 3 deletions
|
@ -1115,8 +1115,8 @@ assets.
|
|||
### Serving GZipped version of assets
|
||||
|
||||
By default, gzipped version of compiled assets will be generated, along
|
||||
with the non-gzipped version of assets. Gzipped assets help reduce, the transmission of
|
||||
date over the wire. You can configure this by setting the `gzip` flag.
|
||||
with the non-gzipped version of assets. Gzipped assets help reduce the transmission of
|
||||
data over the wire. You can configure this by setting the `gzip` flag.
|
||||
|
||||
```ruby
|
||||
config.assets.gzip = false # disable gzipped assets generation
|
||||
|
|
|
@ -163,7 +163,7 @@ 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.gzip` a flag that enables the creation of gzipped version of compiled assets, along with non-gzipped 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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue