diff options
author | Jeremy Kemper <jeremykemper@gmail.com> | 2014-08-24 14:38:12 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremykemper@gmail.com> | 2014-08-24 14:38:12 -0700 |
commit | ae66fda444218452dc6d029841190d3a6d17e7a4 (patch) | |
tree | 171f8136b9693d19db0a6478c050a558ca25c58f /guides/source | |
parent | cb62f922589c724deafc6e6dbe3ffb69c5f7c25e (diff) | |
parent | 8e31fa3b72892f7421b85b5a79d71a2d726ccddd (diff) | |
download | rails-ae66fda444218452dc6d029841190d3a6d17e7a4.tar.gz rails-ae66fda444218452dc6d029841190d3a6d17e7a4.tar.bz2 rails-ae66fda444218452dc6d029841190d3a6d17e7a4.zip |
Merge pull request #16616 from schneems/schneems/jeremy-comments
Address comments on Gzip implementation
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/4_2_release_notes.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md index 1d105ffd46..176cdadabf 100644 --- a/guides/source/4_2_release_notes.md +++ b/guides/source/4_2_release_notes.md @@ -278,6 +278,13 @@ Please refer to the [Changelog][action-pack] for detailed changes. * Added an option to disable logging of CSRF failures. ([Pull Request](https://github.com/rails/rails/pull/14280)) +* When the Rails server is set to serve static assets, gzip assets will now be + served if the client supports it and a pre-generated gzip file (.gz) is on disk. + By default the asset pipeline generates `.gz` files for all compressible assets. + Serving gzip files minimizes data transfer and speeds up asset requests. Always + [use a CDN](http://guides.rubyonrails.org/asset_pipeline.html#cdns) if you are + serving assets from your Rails server in production. + ([Pull Request](https://github.com/rails/rails/pull/16466)) Action View ------------- |