From 6250873d965f9cd6982b62b73c4f4835463e8261 Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Wed, 24 Oct 2012 10:58:04 -0500 Subject: With the Asset Pipeline the :cache and :concat options aren't used anymore --- guides/source/asset_pipeline.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'guides') 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: ``` +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. -- cgit v1.2.3