Hello Nils,

Thanks for your email. I think the difficulty of the return(refresh)
approach might be: VRY_Finish(req, DISCARD) will run instead of
VRY_Finish(req, KEEP) in cnt_lookup(), and do not fetch again if there
is already a busy object after VCL_hit_method().

Thanks,
Jingyi

On 05/18/2015 07:33 AM, Nils Goroll wrote:
> Hi Jingyi,
>
> this has been discussed on irc today:
>
> You have come up with a useful idea to allow refresh of a cache object 
> despite a
> cache hit, which we want to implement. We'd prefer a different implementation
> though and will probably look in the direction of a return(refresh) from 
> vcl_hit.
>
> Cheers, Nils
>
>

_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to