aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorGannon McGibbon <gannon.mcgibbon@gmail.com>2018-12-31 14:28:09 -0500
committerGitHub <noreply@github.com>2018-12-31 14:28:09 -0500
commit651f5819bb8f3110e6cc1cd9c23f81a09ed77f10 (patch)
tree5ffd9ab638332f0312a225b6013859393a1a4c85 /guides
parent3690eb1ba2081c18294fe9f18c25d07a2a21907c (diff)
parent4ee062fbf2e46e138b8b327074a3baccf6957387 (diff)
downloadrails-651f5819bb8f3110e6cc1cd9c23f81a09ed77f10.tar.gz
rails-651f5819bb8f3110e6cc1cd9c23f81a09ed77f10.tar.bz2
rails-651f5819bb8f3110e6cc1cd9c23f81a09ed77f10.zip
Merge pull request #34624 from blaszczakphoto/update-docs-regarding-gzipping-assets
Rename header of the gzip paragraph
Diffstat (limited to 'guides')
-rw-r--r--guides/source/asset_pipeline.md4
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.