Community: Framework mailing list archives

Strong etagging vs Nginx...

- 10/10/2014 15:08:32
Hi all,

I've recently found that when activating Nginx's gzip while proxing 
OpenERP, etags of JS and CSS were being removed.

The issue is that Nginx changing the octets being transmitted over the 
wire invalidates the strong etag, cause as per RFC 2616:

    A "strong entity tag" MAY be shared by two entities of a resource
    only if they are equivalent by octet equality.

Would you consider changing the addon/web/controllers/ to set a 
weak etag instead of a strong one?  What would be the implications?  
Would you consider introduce this change by providing a configuration 
option that'd turn on/off this behaviour?

Best regards,