How can I configure an apache or nginx server to send Etag headers using an algorithm of my choosing (i.e. not involving inode, mtime or size)? Is there any alternative to compiling a new C module?
How can I configure an apache or nginx server to send Etag headers using an algorithm of my choosing (i.e. not involving inode, mtime or size)? Is there any alternative to compiling a new C module?
There are some comments in this PR that could address what your looking for. It isn't an algorithm of your choosing, but it is MD5, which is pretty solid.
You'll note that they present two options.
ETag header calculation (don't use it as the Last-Modified header, as it may be in the future).