Hi.. when i removed *return (lookup);* from "*IF*" statement content request are going to the backed all the time.Not serving from the cache.
What should i follow ? ,IS there any recommended settings ? , or is it ok to use *return (lookup); *in VCL code ? as mention in the previous mail. Thanks in Advance Thank You On 25 September 2012 19:25, dhanushka ranasinghe <[email protected]>wrote: > 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
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
