HTTP Header Transfer-Encoding

sameer nginx-forum at
Fri Dec 4 10:22:30 MSK 2009

I recently upgraded from nginx-0.6.36 to 0.7.62. We are setting cache friendly headers and after the upgrade we started seeing this Transfer-Encoding: chunked. 

This has broken caching. How can I remove this from the HTTP headers? There is a old patch from Igor but those changes are already present in 0.7.62.

Server: nginx/0.7.62

Date: Fri, 04 Dec 2009 07:14:33 GMT

Content-Type: image/gif

Last-Modified: Wed, 01 Apr 2009 08:59:50 GMT

Transfer-Encoding: chunked

Connection: close

Vary: Accept-Encoding

Expires: Thu, 31 Dec 2037 23:55:55 GMT

Cache-Control: max-age=315360000, private

Content-Encoding: gzip

Posted at Nginx Forum:,27897,27897#msg-27897

More information about the nginx mailing list