aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2011-10-26 19:03:53 +1200
committerHenare Degan <henare.degan@gmail.com>2011-10-26 19:03:53 +1200
commitdf5f88c7c0fce0d3b7a994ae376e626cd6d47d34 (patch)
treee981dc0a7421caea6fd0071f1c9c0974aa9de61b /railties/guides
parente368583ba716f90120e7e6ccfc5ee76de015521c (diff)
downloadrails-df5f88c7c0fce0d3b7a994ae376e626cd6d47d34.tar.gz
rails-df5f88c7c0fce0d3b7a994ae376e626cd6d47d34.tar.bz2
rails-df5f88c7c0fce0d3b7a994ae376e626cd6d47d34.zip
Fix a little typo
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/asset_pipeline.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/asset_pipeline.textile b/railties/guides/source/asset_pipeline.textile
index 6eb4ae49e3..6ff5e87b6d 100644
--- a/railties/guides/source/asset_pipeline.textile
+++ b/railties/guides/source/asset_pipeline.textile
@@ -438,7 +438,7 @@ location ~ ^/assets/ {
}
</plain>
-When files are precompiled, Sprockets also creates a "gzipped":http://en.wikipedia.org/wiki/Gzip (.gz) version of your assets. Web servers are typically configured to use a moderate compression ratio as a compromise, but since precompilation happens once Sprockets uses the maximum compression ratio, thus reducing the size of the data transfer to the minimum. One the other hand, web servers can be configured to serve compressed content directly from disk, rather than deflating non-compressed files themselves.
+When files are precompiled, Sprockets also creates a "gzipped":http://en.wikipedia.org/wiki/Gzip (.gz) version of your assets. Web servers are typically configured to use a moderate compression ratio as a compromise, but since precompilation happens once Sprockets uses the maximum compression ratio, thus reducing the size of the data transfer to the minimum. On the other hand, web servers can be configured to serve compressed content directly from disk, rather than deflating non-compressed files themselves.
Nginx is able to do this automatically enabling +gzip_static+: