James On 09/06/2015 14:51, Frederik Nosi wrote:
Hi Rainer, On 06/09/2015 02:53 PM, Rainer Canavan wrote:Won't this disable conditional requests, ex. If-None-Match and friends? Is your recomendation because of the header overhead or am I missing something?Remove etags (Header unset Etag/FileETag None)Just if-None-Match. If-Modified-Since would still work. I believe people recommend disabling ETags because they may cause problems with clusters (i.e. different inode numbers or modification times for otherwise identical files), or gzip content encoding (https://bz.apache.org/bugzilla/show_bug.cgi?id=45023).Well, if it's a static file i think the etag calculation should be quite fast, after all in the default apache setting it's computed using thre values:FileETag INode MTime Sizewhich at least on linux should be cached in the dentry / filesystem cache.So intuitively should be less work then reading this values, the file content and sending it.It's not that i've done measurements on this though, just speculation. As for the cluster case (and for security reasons), i've been using: FileETag MTime Size Out of curiosity, does somebody have real misurements?rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx