Skip to content

Commit

Permalink
[docs] removed last-modifed line from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Hulse committed Dec 1, 2011
1 parent bb2adab commit d72a85c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions railties/guides/source/asset_pipeline.textile
Expand Up @@ -410,10 +410,6 @@ For Apache:

<plain>
<LocationMatch "^/assets/.*$">
# Some browsers still send conditional-GET requests if there's a
# Last-Modified header or an ETag header even if they haven't
# reached the expiry date sent in the Expires header.
Header unset Last-Modified
Header unset ETag
FileETag None
# RFC says only cache for 1 year
Expand All @@ -429,10 +425,6 @@ location ~ ^/assets/ {
expires 1y;
add_header Cache-Control public;

# Some browsers still send conditional-GET requests if there's a
# Last-Modified header or an ETag header even if they haven't
# reached the expiry date sent in the Expires header.
add_header Last-Modified "";
add_header ETag "";
break;
}
Expand Down

0 comments on commit d72a85c

Please sign in to comment.