Apache: Disabling ETags to Improve Performance
Saturday, January 30th, 2010By removing the ETag header, you disable caches and browsers from being able to validate files, so they are forced to rely on your Cache-Control and Expires header. Basically you can remove If-Modified-Since and If-None-Match requests and their 304 Not Modified Responses.
Entity tags (ETags) are a mechanism web servers and the browser use to determine whether a component in the browser’s cache matches one on the origin server. Since ETags are typically constructed using attributes that make them unique to a specific server hosting a site, the tags will not match when a browser gets the original component from one server and later tries to validate that component on a different server.
Doing this is simple. First step make sure the Headers mod is enabled:
a2enmod headers
Then, within your apache2.conf file, add the following:
Header unset ETag
FileETag None

