On Tue, Aug 1, 2017 at 9:34 AM, Guillaume Quintard <[email protected]> wrote: > Ah, right, I totally forgot about that, sorry. > > Sooooooo, there's no real clean way to do it (that I can see, smarter people > than me may have a solution), but here's what I can offer.
First, I would say that honoring a client's cache-control is a terrible idea: it's a glorified DoS vector. Now if you really want to do that (eg. you have a trustworthy client, say a script, that drives caching decisions) you still can't outlive the object's TTL (the one that was picked at the end of vcl_backend_getch). Of course you need to assert the trustworthiness of such requests too. It becomes quite cumbersome to allow clients to make decisions. Sorry, I can't help, I will only say "don't do it" :) Cheers _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
