mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Rename header of the gzip paragraph to more accurate and add short info aboaut what to do about serving gziped files [ci skip]
This commit is contained in:
parent
65c4b1b50d
commit
4ee062fbf2
1 changed files with 3 additions and 1 deletions
|
@ -1101,7 +1101,7 @@ Windows you have a JavaScript runtime installed in your operating system.
|
|||
|
||||
|
||||
|
||||
### Serving GZipped version of assets
|
||||
### GZipping your 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
|
||||
|
@ -1111,6 +1111,8 @@ of data over the wire. You can configure this by setting the `gzip` flag.
|
|||
config.assets.gzip = false # disable gzipped assets generation
|
||||
```
|
||||
|
||||
Refer to your web server's documentation for instructions on how to serve gzipped assets.
|
||||
|
||||
### Using Your Own Compressor
|
||||
|
||||
The compressor config settings for CSS and JavaScript also take any object.
|
||||
|
|
Loading…
Reference in a new issue