Varnish waits for the complete page load before sending response to browser.
- by Track
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?