Skip to content

Commit

Permalink
Include a comment as to why ETag header should be removed from the re…
Browse files Browse the repository at this point in the history
…sponse.
  • Loading branch information
tilsammans committed Feb 29, 2012
1 parent cfc939b commit c567718
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions railties/guides/source/asset_pipeline.textile
Expand Up @@ -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
Expand Down

0 comments on commit c567718

Please sign in to comment.