diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-10-30 09:34:27 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-10-30 09:34:27 +0900 |
commit | 8ee7d5e1fcea69713ab7d1389fbdf3944bf8a4c7 (patch) | |
tree | 400dd12423655640a117df80ad8eebe1721c6462 | |
parent | dcb364ec8ec89c4c70c8de1965a3d3d6b45de072 (diff) | |
download | rails-8ee7d5e1fcea69713ab7d1389fbdf3944bf8a4c7.tar.gz rails-8ee7d5e1fcea69713ab7d1389fbdf3944bf8a4c7.tar.bz2 rails-8ee7d5e1fcea69713ab7d1389fbdf3944bf8a4c7.zip |
update doc about assets digest class [ci skip]
The default digest class changed to SHA256 in sprockets 3.0.
Ref: https://github.com/sstephenson/sprockets/pull/647
-rw-r--r-- | guides/source/configuring.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index c625cf67f6..b0334bfe4a 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -175,11 +175,11 @@ pipeline is enabled. It is set to `true` by default. * `config.assets.manifest` defines the full path to be used for the asset precompiler's manifest file. Defaults to a file named `manifest-<random>.json` in the `config.assets.prefix` directory within the public folder. -* `config.assets.digest` enables the use of MD5 fingerprints in asset names. Set to `true` by default. +* `config.assets.digest` enables the use of SHA256 fingerprints in asset names. Set to `true` by default. * `config.assets.debug` disables the concatenation and compression of assets. Set to `true` by default in `development.rb`. -* `config.assets.version` is an option string that is used in MD5 hash generation. This can be changed to force all files to be recompiled. +* `config.assets.version` is an option string that is used in SHA256 hash generation. This can be changed to force all files to be recompiled. * `config.assets.compile` is a boolean that can be used to turn on live Sprockets compilation in production. |