Will nginx support HTTP Etag ?

Xia Qingran qingran.xia at gmail.com
Tue Apr 14 13:33:53 MSD 2009

After reading http://wiki.nginx.org, I find out that nginx has not the
offical support for the HTTP Etag,
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19 . I
want to know whether the future version of nginx will add this

My website is taking use of nginx to run static files server including
lots of Javascipt and CSS files modified frequently. Now I set a very
short expires time like, expires 1h, to renew the client cache as soon
as possible.

But I think it is not a good solution. It wastes my network bandwidth
if I do not modify the static files. Etag will do it better because it
can renew the client's cache immediately. Moreover the implement of
this feature is not very hard. One simple method of generating the
ETag is based on the the size and last modified time of the file.

Xia Qingran
qingran.xia at gmail.com
Sent from Beijing, 11, China
Henny Youngman  - "I told the doctor I broke my leg in two
places. He told me to quit going to those places." -

More information about the nginx mailing list