1
0
Fork 0
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:
Mariusz Błaszczak 2018-12-05 14:13:25 +01:00
parent 65c4b1b50d
commit 4ee062fbf2

View file

@ -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.