magento-turpentine icon indicating copy to clipboard operation
magento-turpentine copied to clipboard

pass changed to pipe

Open qsolutions-pl opened this issue 4 years ago • 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?

qsolutions-pl avatar Nov 27 '19 08:11 qsolutions-pl

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

onlinebizsoft avatar Dec 02 '19 16:12 onlinebizsoft

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

qsolutions-pl avatar Dec 09 '19 13:12 qsolutions-pl

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

onlinebizsoft avatar Dec 10 '19 03:12 onlinebizsoft