Hi Nils,

Please ignore my remarks, except that 4.0 docs are incomplete. I
misread everything including the documentation,  your email and the
discussions on IRC.

I will document the return(fetch) in 4.0 though.

Cheers,
Dridi

On Mon, May 18, 2015 at 1:42 PM, Dridi Boukelmoune <[email protected]> wrote:
> Hi Nils,
>
> It's actually return(fetch) that will do that from vcl_hit. You can
> see it in the built-in VCL[1] and I'm afraid it hasn't been documented
> yet in the 4.0[2] branch, ironically it is documented but deprecated
> in the trunk[3].
>
> Cheers,
> Dridi
>
> [1] /usr/share/doc/varnish/builtin.vcl
> [2] 
> https://www.varnish-cache.org/docs/4.0/users-guide/vcl-built-in-subs.html#vcl-hit
> [3] 
> https://www.varnish-cache.org/docs/trunk/users-guide/vcl-built-in-subs.html#vcl-hit
>
> On Mon, May 18, 2015 at 1:33 PM, Nils Goroll <[email protected]> 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

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

Reply via email to