Tomcat, Apache, IIS ETag Format

The ETag format

  1. Apache 1.3 and 2.x is inode-size-timestamp. Although a given file may reside in the same directory across multiple servers, and have the same file size, permissions, timestamp, etc., its inode is different from one server to the next.
  2. Tomcat simply generates a Weak ETag by concatenating the content length and the last modified time in milliseconds
  3. The format for ETags on IIS is Filetimestamp:ChangeNumber. A ChangeNumber is a counter used to track configuration changes to IIS. It's unlikely that the ChangeNumber is the same across all IIS servers behind a web site.

Comments

Popular Posts