diff options
author | cczona <cczona@gmail.com> | 2012-09-26 13:57:03 -0700 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-09-27 23:29:23 +0530 |
commit | 6ee8e929c30ff7c95bab65bee6e9ce503c3c3331 (patch) | |
tree | 571ef9724a2ddc713267ec972a40e7ae7364fd5d /guides/source | |
parent | 15d475a63b0beec2e1e735d49103e642ea54dc78 (diff) | |
download | rails-6ee8e929c30ff7c95bab65bee6e9ce503c3c3331.tar.gz rails-6ee8e929c30ff7c95bab65bee6e9ce503c3c3331.tar.bz2 rails-6ee8e929c30ff7c95bab65bee6e9ce503c3c3331.zip |
typo fix: remove duplicate period
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/asset_pipeline.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md index be7ca5107d..fc0092a93e 100644 --- a/guides/source/asset_pipeline.md +++ b/guides/source/asset_pipeline.md @@ -42,7 +42,7 @@ The first feature of the pipeline is to concatenate assets. This is important in Rails 2.x introduced the ability to concatenate JavaScript and CSS assets by placing `:cache => true` at the end of the `javascript_include_tag` and `stylesheet_link_tag` methods. But this technique has some limitations. For example, it cannot generate the caches in advance, and it is not able to transparently include assets provided by third-party libraries. -Starting with version 3.1, Rails defaults to concatenating all JavaScript files into one master `.js` file and all CSS files into one master `.css` file. As you'll learn later in this guide, you can customize this strategy to group files any way you like. In production, Rails inserts an MD5 fingerprint into each filename so that the file is cached by the web browser. You can invalidate the cache by altering this fingerprint, which happens automatically whenever you change the file contents.. +Starting with version 3.1, Rails defaults to concatenating all JavaScript files into one master `.js` file and all CSS files into one master `.css` file. As you'll learn later in this guide, you can customize this strategy to group files any way you like. In production, Rails inserts an MD5 fingerprint into each filename so that the file is cached by the web browser. You can invalidate the cache by altering this fingerprint, which happens automatically whenever you change the file contents. The second feature of the asset pipeline is asset minification or compression. For CSS files, this is done by removing whitespace and comments. For JavaScript, more complex processes can be applied. You can choose from a set of built in options or specify your own. |