Hi..<br><br>when i removed   <b>return (lookup);</b>  from  "<b>IF</b>" statement  content request are going to the backed all the time.Not serving from the cache.<br><br>What should i follow ? ,IS there any recommended settings ? , or is it ok to use   <b>return (lookup); </b>in VCL code ? as mention in the previous mail. <br>
<br><br>Thanks in Advance<br><br>Thank You<br><br><br><br><br><br><br><div class="gmail_quote">On 25 September 2012 19:25, dhanushka ranasinghe <span dir="ltr"><<a href="mailto:parakrama1282@gmail.com" target="_blank">parakrama1282@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi.. guys ,<br><br>In my varnish code im using  "return (lookup)" ,<br><br><br>sub vcl_recv {<br><br>if (req.http.host ~ "^<a href="http://a.content.org/" target="_blank">a.content.org</a>$") {<br>
        set req.backend = bkcacheorg;<br>
        return (lookup);<br>
}<br><br>}<br><br> <br>
<br>
Please correct me if im wrong ..in varnish doc says   <b>return (lookup) means </b>  "<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:'Times New Roman';word-spacing:0px"><span style="color:rgb(34,34,34);font-family:sans-serif;font-size:16px;line-height:20px;text-align:justify">Varnish to deliver content from cache even if the request othervise indicates that the request should be passed."<span> </span></span></span><br>



<br>
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...<br>
<br>
Thank you
</blockquote></div><br>