diff options
author | Jon Moss <maclover7@users.noreply.github.com> | 2017-01-04 23:00:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-04 23:00:53 -0500 |
commit | 4f22406aae0221958eefaf5571cda4a68bc11a5d (patch) | |
tree | b08af715c4384ba34d046b367559f5b5fa0b6557 /guides/source | |
parent | 98a3d647f1329c556f977678a08143cac914253a (diff) | |
parent | 750c452f63e5c37991ebaae322156fd2e0f17ef5 (diff) | |
download | rails-4f22406aae0221958eefaf5571cda4a68bc11a5d.tar.gz rails-4f22406aae0221958eefaf5571cda4a68bc11a5d.tar.bz2 rails-4f22406aae0221958eefaf5571cda4a68bc11a5d.zip |
Merge pull request #27578 from kenta-s/fix-typo-in-asset_pipeline_md
Fix typo in asset_pipeline.md [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/asset_pipeline.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md index 287c20ce5a..360de9a584 100644 --- a/guides/source/asset_pipeline.md +++ b/guides/source/asset_pipeline.md @@ -106,7 +106,7 @@ or in web browsers) to keep their own copy of the content. When the content is updated, the fingerprint will change. This will cause the remote clients to request a new copy of the content. This is generally known as _cache busting_. -The technique sprockets uses for fingerprinting is to insert a hash of the +The technique Sprockets uses for fingerprinting is to insert a hash of the content into the name, usually at the end. For example a CSS file `global.css` ``` @@ -744,7 +744,7 @@ 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 -a MD5 hash) that contains a list with all your assets and their respective +an MD5 hash) 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: |