aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/asset_pipeline.md
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2013-04-14 13:38:23 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2013-04-14 13:38:23 +0530
commit8ffaa39b75982cd59f1ab843be0502143e0627e0 (patch)
tree8f8f022404b649c88749844a5df370f6b6671894 /guides/source/asset_pipeline.md
parent00a805d41939b44a703848b21054224afde026dc (diff)
downloadrails-8ffaa39b75982cd59f1ab843be0502143e0627e0.tar.gz
rails-8ffaa39b75982cd59f1ab843be0502143e0627e0.tar.bz2
rails-8ffaa39b75982cd59f1ab843be0502143e0627e0.zip
Added description for mtime
Diffstat (limited to 'guides/source/asset_pipeline.md')
-rw-r--r--guides/source/asset_pipeline.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md
index 43df544e28..1e33af2658 100644
--- a/guides/source/asset_pipeline.md
+++ b/guides/source/asset_pipeline.md
@@ -75,7 +75,7 @@ The query string strategy has several disadvantages:
2. **The file name can change between nodes in multi-server environments.**<br />
The default query string in Rails 2.x is based on the modification time of the files. When assets are deployed to a cluster, there is no guarantee that the timestamps will be the same, resulting in different values being used depending on which server handles the request.
3. **Too much cache invalidation**<br />
- When static assets are deployed with each new release of code, the mtime of _all_ these files changes, forcing all remote clients to fetch them again, even when the content of those assets has not changed.
+ When static assets are deployed with each new release of code, the mtime(time of last modification) of _all_ these files changes, forcing all remote clients to fetch them again, even when the content of those assets has not changed.
Fingerprinting fixes these problems by avoiding query strings, and by ensuring that filenames are consistent based on their content.