aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2012-10-24 10:58:04 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2012-10-24 10:58:04 -0500
commit6250873d965f9cd6982b62b73c4f4835463e8261 (patch)
tree1b85a14e07c26f835b91df81854165d031e57400 /guides/source
parent53568e05a3a9610de2f391f932ecc3700fc9a665 (diff)
downloadrails-6250873d965f9cd6982b62b73c4f4835463e8261.tar.gz
rails-6250873d965f9cd6982b62b73c4f4835463e8261.tar.bz2
rails-6250873d965f9cd6982b62b73c4f4835463e8261.zip
With the Asset Pipeline the :cache and :concat options aren't used anymore
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/asset_pipeline.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md
index fc0092a93e..0540516a74 100644
--- a/guides/source/asset_pipeline.md
+++ b/guides/source/asset_pipeline.md
@@ -386,6 +386,9 @@ generates something like this:
<link href="/assets/application-4dd5b109ee3439da54f5bdfd78a80473.css" media="screen" rel="stylesheet" />
```
+Note: with the Asset Pipeline the :cache and :concat options aren't used anymore, delete these options from the `javascript_include_tag` and `stylesheet_link_tag`.
+
+
The fingerprinting behavior is controlled by the setting of `config.assets.digest` setting in Rails (which defaults to `true` for production and `false` for everything else).
NOTE: Under normal circumstances the default option should not be changed. If there are no digests in the filenames, and far-future headers are set, remote clients will never know to refetch the files when their content changes.