Varnish waits for the complete page load before sending response to browser.

Posted by Track on Stack Overflow See other posts from Stack Overflow or by Track
Published on 2010-06-15T15:19:46Z Indexed on 2010/06/15 15:22 UTC
Read the original article Hit count: 99

Filed under:

I've setup varnish to sit in front of a tomcat server. What I've noticed is that Varnish seems to wait for the complete page to load (all css, js, etc) before it sends any response to the browser.

This causes a huge lag before the user sees anything. If I bypass Varnish and go directly to the site, it responds immediately.

While the total page load time might be similar, the perception is that the site is slow.

Has anyone faced this?

© Stack Overflow or respective owner

Related posts about varnish