nexcess/magento-turpentine

pass changed to pipe

jakwinkler opened this issue · 3 comments

We've been using an old version (0.7.1) and we had no performance issues.
After decided to upgrade to 0.7.5 we've noticed a performance drop in our Magento 1 installation, after checking all code changes we determine that performance dropped due to change in varnish return from pass to pipe.

Before (0.7.1):

if (!true || req.method !~ "^(GET|HEAD|OPTIONS)$" ||
req.http.Cookie ~ "varnish_bypass=1") {
return (pass);
}

After (0.7.5)

if (!true || req.http.Authorization ||
req.method !~ "^(GET|HEAD|OPTIONS)$" ||
req.http.Cookie ~ "varnish_bypass=1") {
return (pipe);
}

Was that on purpose?

Pipe should be faster than Pass. Pipe means content transferred as soon as received from backend

@onlinebizsoft ok, I get that, but in our case it actually slowed down the site. Is that possible ?

@qsolutions-pl did you try to change and monitor the website? It shouldn't be that.