ttomsen
ttomsen

Reputation: 898

how does iis 7 generate etags

what method/algorithm does iis 7 use to generate etags. I'm looking for exact, not 'well they use checksum on the date'

This leaves lots of questions. What algorithm for checksum, which date, which format of the date (short, utc, 'mm-dd-yyyy ttad', 'MMDDDYYY', etc)

Thanks in advance. i have scoured the net and cannot find this answer.

Upvotes: 7

Views: 4514

Answers (1)

Lex Li
Lex Li

Reputation: 63143

ETag generated by IIS has two parts

Filetimestamp:ChangeNumber

according to

http://support.microsoft.com/kb/922703/

As you noticed, the algorithm is not publicly available. But why you are interested in this? Unless you create an IIS clone.

Upvotes: 6

Related Questions