On 12/5/19 11:24, Dridi Boukelmoune wrote:
> On Tue, Dec 3, 2019 at 6:04 PM al sefid <[email protected]> wrote:
>>
>> Is there any functionality like proxy_cache_min_uses in the
>> Varnish cache that caches a resource after specific number of
>> requests to that resource?
> 
> Varnish is not capable of doing that by itself, but as Geoff pointed
> out on github you could rely on some form of throttling to emulate
> this functionality, but that requires a third-party module:
> 
> https://github.com/varnishcache/varnish-cache/issues/3150#issuecomment-561307014
> 
> Be careful though, his example was a bit simplistic (I assume on
> purpose to show the idea) and shouldn't be used as-is.

Right, and also not tested.


HTH nevertheless,
Geoff
-- 
** * * UPLEX - Nils Goroll Systemoptimierung

Scheffelstraße 32
22301 Hamburg

Tel +49 40 2880 5731
Mob +49 176 636 90917
Fax +49 40 42949753

http://uplex.de

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to