diff options
author | Steven Harman <steven@harmanly.com> | 2014-04-17 23:24:41 -0400 |
---|---|---|
committer | Steven Harman <steven@harmanly.com> | 2014-04-17 23:24:41 -0400 |
commit | e50719332e691c97aaae8d3103407d6db2a789ee (patch) | |
tree | 65f281042a0c7ca8a3758e849e473d7f041f9ce1 /guides/source/asset_pipeline.md | |
parent | c5e083af3ddbad1829c3b52ac0cd8520b759c7b5 (diff) | |
download | rails-e50719332e691c97aaae8d3103407d6db2a789ee.tar.gz rails-e50719332e691c97aaae8d3103407d6db2a789ee.tar.bz2 rails-e50719332e691c97aaae8d3103407d6db2a789ee.zip |
Fix spelling and proper nouns
[ci skip]
Diffstat (limited to 'guides/source/asset_pipeline.md')
-rw-r--r-- | guides/source/asset_pipeline.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md index 5bb895cb78..dfc690971b 100644 --- a/guides/source/asset_pipeline.md +++ b/guides/source/asset_pipeline.md @@ -56,7 +56,7 @@ the comment operator on that line to later enable the asset pipeline: To set asset compression methods, set the appropriate configuration options in `production.rb` - `config.assets.css_compressor` for your CSS and -`config.assets.js_compressor` for your Javascript: +`config.assets.js_compressor` for your JavaScript: ```ruby config.assets.css_compressor = :yui @@ -781,7 +781,7 @@ exception indicating the name of the missing file(s). #### Far-future Expires Header -Precompiled assets exist on the filesystem and are served directly by your web +Precompiled assets exist on the file system and are served directly by your web server. They do not have far-future headers by default, so to get the benefit of fingerprinting you'll have to update your server configuration to add those headers. @@ -943,7 +943,7 @@ gem. ```ruby config.assets.css_compressor = :yui ``` -The other option for compressing CSS if you have the sass-rails gem installed is +The other option for compressing CSS if you have the sass-rails gem installed is ```ruby config.assets.css_compressor = :sass @@ -1018,7 +1018,7 @@ The X-Sendfile header is a directive to the web server to ignore the response from the application, and instead serve a specified file from disk. This option is off by default, but can be enabled if your server supports it. When enabled, this passes responsibility for serving the file to the web server, which is -faster. Have a look at [send_file](http://api.rubyonrails.org/classes/ActionController/DataStreaming.html#method-i-send_file) +faster. Have a look at [send_file](http://api.rubyonrails.org/classes/ActionController/DataStreaming.html#method-i-send_file) on how to use this feature. Apache and nginx support this option, which can be enabled in |