Will nginx support HTTP Etag ?

Anton Yuzhaninov citrin at citrin.ru
Wed Apr 15 13:52:16 MSD 2009

Phillip B Oldham wrote:
> Anton Yuzhaninov wrote:
>> If last-modifed date of file is not changed, bandwidth saved:
>> client send in request
>> header If-Modified-Since:
>> and if time in request same as time of file modification on disk nginx 
>> send reply
>> HTTP/1.x 304 Not Modified
>> In general Etag for static files is not better than Last-Modified header.
>> Etag is useful for dynamic content, when modify time is not known. In 
>> this case Etage can be generated from hash (md5/sha) of content.
> Can this work with the memcached module in any way? For instance, if the 
> resource requested is in the memcached store then the 304 header is sent?

AFAIK it is not possible now.

  Anton Yuzhaninov

More information about the nginx mailing list