aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoost Baaij <joost@spacebabies.nl>2012-02-29 09:41:17 +0100
committerJoost Baaij <joost@spacebabies.nl>2012-02-29 09:41:17 +0100
commitc567718dfce4a3eda3b100b641e1b34ee52282f3 (patch)
treeb85a47917f93bbb3fa7adecd6e1396c614ca8c37
parentcfc939bcef93243373c6424db0b8be1ab0300ec7 (diff)
downloadrails-c567718dfce4a3eda3b100b641e1b34ee52282f3.tar.gz
rails-c567718dfce4a3eda3b100b641e1b34ee52282f3.tar.bz2
rails-c567718dfce4a3eda3b100b641e1b34ee52282f3.zip
Include a comment as to why ETag header should be removed from the response.
-rw-r--r--railties/guides/source/asset_pipeline.textile1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/guides/source/asset_pipeline.textile b/railties/guides/source/asset_pipeline.textile
index ff2bd08602..4b7f1fd6ce 100644
--- a/railties/guides/source/asset_pipeline.textile
+++ b/railties/guides/source/asset_pipeline.textile
@@ -464,6 +464,7 @@ For Apache:
<plain>
<LocationMatch "^/assets/.*$">
+ # Use of ETag is discouraged when Last-Modified is present
Header unset ETag
FileETag None
# RFC says only cache for 1 year