开发者

Varnish page reload (F5) takes a long time on non-cached pages

Situation: Varnish 2.1.4 lenny (latest stable) is running succesfully on Debian/Apache with mod_php.

I've got multiple开发者_JS百科 Drupal sites running on this server and some are Varnish enhanced (e.g. using Pressflow). These sites work as expected.

The other sites, who aren't using the reverse-proxy, load fine when you enter the address or click around but take a really weird long time (30-45 secs) to load when you refresh the page using F5 or Ctrl+F5.

I don't think it's a VCL configuration thing; if I do a return (pass) immeditaley for one of these domains, the problem persists. Could this be related to this issue?


Are the sites that arn't using varnish still going through it?

For debugging, I would have a look at the net tab with firebug, it should give you an indication of what is taking its' time. It could be that the itial page load is fine but the other resources are taking a long time to get through.


Actually, I found out varnish 2.1.4 has some kind of problem with Apache's Keep-Alive functionalitiy (which was On). Turning it Off solved both problems!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜