[Xapian-discuss] Ticket #342: Omega: Add option to avoid reindexing unchanged files

Olly Betts olly at survex.com
Fri May 22 15:17:38 BST 2009


On Thu, May 21, 2009 at 01:13:42PM +0100, James Aylett wrote:
> On Thu, May 21, 2009 at 03:49:51AM +0100, Olly Betts wrote:
> > And again, webservers don't check the inode for "If-Modified-Since"...
> 
> No, but many do for ETag (If-None-Match); it's the default in Apache I
> believe. It's not a particularly *good* default, but that's another
> issue entirely.

Interesting - I've never looked at the details of ETag, but had assumed
it would be a checksum of the file.  But as you say, Apache defaults to
using the inode, mtime, and size.

I still think it's probably not good for us, as we'd need to store the
inode for each document and this isn't useful for anything else (unlike
the file size).

Cheers,
    Olly



More information about the Xapian-discuss mailing list