diff options
author | Mariusz Błaszczak <mariusz.blaszczak@akra.net> | 2018-12-05 14:13:25 +0100 |
---|---|---|
committer | Mariusz Błaszczak <mariusz.blaszczak@akra.net> | 2018-12-21 10:16:52 +0100 |
commit | 4ee062fbf2e46e138b8b327074a3baccf6957387 (patch) | |
tree | bb1f699ebf31fdda38347cc4ac8637085a541cd1 /guides/source/asset_pipeline.md | |
parent | 65c4b1b50df3fa59198de2d45d1f54b61ecc7864 (diff) | |
download | rails-4ee062fbf2e46e138b8b327074a3baccf6957387.tar.gz rails-4ee062fbf2e46e138b8b327074a3baccf6957387.tar.bz2 rails-4ee062fbf2e46e138b8b327074a3baccf6957387.zip |
Rename header of the gzip paragraph to more accurate and add short info aboaut what to do about serving gziped files [ci skip]
Diffstat (limited to 'guides/source/asset_pipeline.md')
-rw-r--r-- | guides/source/asset_pipeline.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md index 500e230ff9..e7faa5c330 100644 --- a/guides/source/asset_pipeline.md +++ b/guides/source/asset_pipeline.md @@ -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. |