Skip to content

Commit

Permalink
moved ETag removal configs closer
Browse files Browse the repository at this point in the history
  • Loading branch information
chuanxshi committed May 19, 2011
1 parent 91ff0b8 commit 9ee01e9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .htaccess
Expand Up @@ -33,11 +33,8 @@
</IfModule>

<IfModule mod_headers.c>
# FileETag None is not enough for every server.
Header unset ETag

# Because X-UA-Compatible isn't sent to non-IE (to save header bytes),
# We need to inform proxies that content changes based on UA
# We need to inform proxies that content changes based on UA
Header append Vary User-Agent
# Cache control is set only if mod_headers is enabled, so that's unncessary to declare
</IfModule>
Expand Down Expand Up @@ -240,6 +237,11 @@ AddType text/x-vcard vcf
# ETag removal
# ----------------------------------------------------------------------

# FileETag None is not enough for every server.
<IfModule mod_headers.c>
Header unset ETag
</IfModule>

# Since we're sending far-future expires, we don't need ETags for
# static content.
# developer.yahoo.com/performance/rules.html#etags
Expand Down

0 comments on commit 9ee01e9

Please sign in to comment.