return (lookup) means
dhanushka ranasinghe
parakrama1282 at gmail.com
Tue Sep 25 15:55:15 CEST 2012
Hi.. guys ,
In my varnish code im using "return (lookup)" ,
sub vcl_recv {
if (req.http.host ~ "^a.content.org$") {
set req.backend = bkcacheorg;
return (lookup);
}
}
Please correct me if im wrong ..in varnish doc says *return (lookup)
means * "Varnish to deliver content from cache even if the request
othervise indicates that the request should be passed."
i just want to know im using "return (lookup)" , if the content does not
found in varnish cache , its it going to talk to backend and get the
correct content...
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120925/2ee3c3e7/attachment.html>
More information about the varnish-misc
mailing list