mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Correct docs on naming of sprockets manifest file
Calling this an MD5 implies that it is generated consistently based on some input.
However, this value is [completely random](fbe6e450b6/lib/sprockets/manifest_utils.rb (L11-L24)
).
This commit is contained in:
parent
6378a386dd
commit
319248c049
1 changed files with 2 additions and 2 deletions
|
@ -728,8 +728,8 @@ Rails.application.config.assets.precompile += %w( admin.js admin.css )
|
|||
NOTE. Always specify an expected compiled filename that ends with `.js` or `.css`,
|
||||
even if you want to add Sass or CoffeeScript files to the precompile array.
|
||||
|
||||
The task also generates a `.sprockets-manifest-md5hash.json` (where `md5hash` is
|
||||
an MD5 hash) that contains a list with all your assets and their respective
|
||||
The task also generates a `.sprockets-manifest-randomhex.json` (where `randomhex` is
|
||||
a 16-byte random hex string) that contains a list with all your assets and their respective
|
||||
fingerprints. This is used by the Rails helper methods to avoid handing the
|
||||
mapping requests back to Sprockets. A typical manifest file looks like:
|
||||
|
||||
|
|
Loading…
Reference in a new issue