Question

Varnish responds with Transfer-Encoding: chunked for ESIed pages, but this does not work for some proxies(squid). I want to disable transfer-encoding for ESI.

Was it helpful?

Solution

The use of chunked encoding is a requirement for Varnish ESI.

Each ESI fragment will be a fresh chunk, that way Varnish doesn't have to buffer anything to build the page.

There are loads and loads of big web pages that use ESI with Varnish. Are you sure the proxy argument is valid?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top