[prev in list] [next in list] [prev in thread] [next in thread]
List: varnish-misc
Subject: forget an object in vcl_fetch
From: tfheen () redpill-linpro ! com (Tollef Fog Heen)
Date: 2009-11-27 8:53:54
Message-ID: 874oogz6u5.fsf () qurzaw ! linpro ! no
[Download RAW message or body]
]] David Birdsong
| > sub vcl_fetch {
| > ?if (!beresp.X-Super-Hot-File) {
| > ? ?unset obj.cacheable;
| > ?}
| > }
|
| ok, i tried this and was not allowed to modify this attribute.
You can set it to true or false, but you can't unset it.
| just out of curiosity i tried 'pass' instead but that also caused disk
| hits. is there anyway to completely pass traffic through without
| varnish storing it?
You can pipe it, but then you end up closing the connection afterwards.
--
Tollef Fog Heen
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic