Browse files

With the Asset Pipeline the :cache and :concat options aren't used an…

  • Loading branch information...
1 parent 53568e0 commit 6250873d965f9cd6982b62b73c4f4835463e8261 @guilleiguaran guilleiguaran committed Oct 24, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 guides/source/
@@ -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.

0 comments on commit 6250873

Please sign in to comment.