Honoring ETag of cached content

Maxim Dounin mdounin at mdounin.ru
Fri Nov 1 23:16:54 UTC 2013


On Fri, Nov 01, 2013 at 10:29:06PM +0100, Marc Aymerich wrote:

> Hi,
> I'm using nginx proxy pass to cache content of our dynamic web application.
> In order to save some bandwidth our client application uses conditional
> requests based on ETag. However nginx ignores the ETag of cached pages :(
> What would be required if I want to honor the ETag of cached pages? Is
> something that can be achieve by means of configuration? or I would need to
> write an nginx module in C?

It is expected to just work in 1.3.3+.  If you don't see it 
working, you may want to check the version you are running.

Maxim Dounin

More information about the nginx mailing list