ESI slowing down page loading

Pinakee BIswas pinakee at
Tue Mar 12 11:41:44 UTC 2019

Hi Dridi,

Thanks for your response and the details.

I did get the info on PESI from someone from the varnish plus team.

Would certainly look into it but being a young company, would have also 
factor in the cost considering our web traffic.



On 11/03/19 1:39 PM, Dridi Boukelmoune wrote:
> Hello Pinakee,
> On Tue, Mar 5, 2019 at 8:16 AM Pinakee BIswas <pinakee at> wrote:
>> Hi,
>> We are using varnish 4.1.8 and Django 1.11 for our application.
>> We are using ESI to break down caching on a page. Part of pages which
>> are dynamically loaded are fetched from the backend server using ESI but
>> if there are multiple ESI calls on a page, the server response time and
>> hence, the page loading increases. This is because of the increase in
>> the number of calls to the backend server before Varnish serves the page
>> to the client.
>> Could you please let me know if there is a way to optimize the above?
> Unfortunately there's little you can do to lower the latency on heavy
> ESI misses or passes with Varnish Cache.
> Varnish Plus on the other hand has parallel ESI that should bring down
> latency to the longest fetch instead of all of them:
> Dridi

More information about the varnish-misc mailing list