aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammad Typaldos <mohammad.elabid@gmail.com>2011-06-24 06:33:59 -0700
committerMohammad Typaldos <mohammad.elabid@gmail.com>2011-06-24 06:33:59 -0700
commit837a74bc0f232c225b146c23fa706264e8473371 (patch)
treeb995f7558671ab8e6d3c31350ef8723d1c75749e
parent7f91eebae361f2f3a1558f6d899b372524509a2d (diff)
downloadrails-837a74bc0f232c225b146c23fa706264e8473371.tar.gz
rails-837a74bc0f232c225b146c23fa706264e8473371.tar.bz2
rails-837a74bc0f232c225b146c23fa706264e8473371.zip
Edited railties/guides/source/asset_pipeline.textile via GitHub
-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 78683b743c..de66876623 100644
--- a/railties/guides/source/asset_pipeline.textile
+++ b/railties/guides/source/asset_pipeline.textile
@@ -94,7 +94,7 @@ h4. Compressing Assets
The default Gemfile also includes the "uglifier":https://github.com/lautis/uglifier gem. This gem wraps "UglifierJS":https://github.com/mishoo/UglifyJS (written for NodeJS) in Ruby. It compress your code by removing white spaces and other magical things like changing your if and else statements to ternary operators when possible.
-Sprockets also turns on "Gzip":http://en.wikipedia.org/wiki/Gzip (.gz) when possible (by checking the user's headers). Gzip is a file compression technique, much like the ever so popular "zip" file, except it's more open source friendly. Gzip should not modify the contents of the file, but simply the size of the file.
+Sprockets also creates a "Gzip":http://en.wikipedia.org/wiki/Gzip (.gz) of your assets. This prevents your server from contently compressing your assets for each request. You must configure your server to use GZip compression and serve the compressed assets in {location}. {Give Apache and NGINX examples since those are what's cool}
h4. Adding Assets to Your Gems