Not caching immediately?

Dag-Erling Smørgrav des at linpro.no
Wed Feb 13 16:45:27 CET 2008


"Aaron Pfeifer" <aaron.pfeifer at gmail.com> writes:
> In case anyone runs into the same problem, with the help from the folks on
> #varnish, the problem is that piping a POST will cause the cache to be
> bypassed if the session remains open.  The solution is to either:
>
> (1) Upgrade to trunk (I was using 1.1.2)
> (2) Add "set req.http.connection = "close";" immediately before the pipe for
> a POST

No, trunk will handle POST correctly in "pass" mode which makes this
unnecessary.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-misc mailing list