Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how does iis 7 generate etags

Tags:

iis

iis-7

etag

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.

like image 984
ttomsen Avatar asked Sep 03 '09 16:09

ttomsen


1 Answers

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.

like image 181
Lex Li Avatar answered Sep 30 '22 15:09

Lex Li