未验证 提交 651f5819 编写于 作者: G Gannon McGibbon 提交者: GitHub

Merge pull request #34624 from blaszczakphoto/update-docs-regarding-gzipping-assets

Rename header of the gzip paragraph
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册