aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/asset_pipeline.textile
diff options
context:
space:
mode:
authorAlmudena Garcia <murtra@murtra.net>2012-08-23 23:46:16 +0200
committerAlmudena Garcia <murtra@murtra.net>2012-08-23 23:46:16 +0200
commitaa41bcd4d818eeb945ee7654593dc647fc9c33ed (patch)
tree83cde30591a05d0a1ea72ede2e2cb6481cfc994b /guides/source/asset_pipeline.textile
parent5c89e075963b89fbaa86035a120acd27a571d873 (diff)
downloadrails-aa41bcd4d818eeb945ee7654593dc647fc9c33ed.tar.gz
rails-aa41bcd4d818eeb945ee7654593dc647fc9c33ed.tar.bz2
rails-aa41bcd4d818eeb945ee7654593dc647fc9c33ed.zip
Fix HTML validation errors
Diffstat (limited to 'guides/source/asset_pipeline.textile')
-rw-r--r--guides/source/asset_pipeline.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/asset_pipeline.textile b/guides/source/asset_pipeline.textile
index e385ec4f17..06df428cc3 100644
--- a/guides/source/asset_pipeline.textile
+++ b/guides/source/asset_pipeline.textile
@@ -70,11 +70,11 @@ The query string strategy has several disadvantages:
<ol>
<li>
- <strong>Not all caches will reliably cache content where the filename only differs by query parameters</strong>.<br>
+ <strong>Not all caches will reliably cache content where the filename only differs by query parameters</strong>.<br />
"Steve Souders recommends":http://www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/, "...avoiding a querystring for cacheable resources". He found that in this case 5-20% of requests will not be cached. Query strings in particular do not work at all with some CDNs for cache invalidation.
</li>
<li>
- <strong>The file name can change between nodes in multi-server environments.</strong><br>
+ <strong>The file name can change between nodes in multi-server environments.</strong><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.
</li>
<li>