Will nginx support HTTP Etag ?

Phillip B Oldham phill at theactivitypeople.co.uk
Wed Apr 15 11:37:47 MSD 2009

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?


*Phillip B Oldham*
The Activity People
phill at theactivitypeople.co.uk <mailto:phill at theactivitypeople.co.uk>



This e-mail and its attachments are intended for the above named 
recipient(s) only and may be confidential. If they have come to you in 
error, please reply to this e-mail and highlight the error. No action 
should be taken regarding content, nor must you copy or show them to anyone.

This e-mail has been created in the knowledge that Internet e-mail is 
not a 100% secure communications medium, and we have taken steps to 
ensure that this e-mail and attachments are free from any virus. We must 
advise that in keeping with good computing practice the recipient should 
ensure they are completely virus free, and that you understand and 
observe the lack of security when e-mailing us.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090415/41d9b1e3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phill.vcf
Type: text/x-vcard
Size: 261 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20090415/41d9b1e3/attachment.vcf>

More information about the nginx mailing list