On Fri, Mar 30, 2012 at 11:43 AM, Roberto O. Fernández Crisial <
[email protected]> wrote:

> Hi fatblowfish (?),
>
> Maybe you should try with something like:
>
> if req.url ~ REGEX ( set beresp.ttl == TIME)
>
> I see...thanks! I found something [0] that sort of seems like what I want
to achieve.

Still, I wish the feature I wanted was in VCL...

[0] -
https://www.varnish-cache.org/trac/wiki/VCLExampleExtendingCacheControl

On vcl_fetch subrutine.
>
>
> All the best,
> Roberto (a.k.a. @rofc)
>
> On Thu, Mar 29, 2012 at 7:34 PM, fatblowfish <[email protected]>wrote:
>
>> Hi,
>>
>> I'm pretty much a Varnish 3 newb...
>>
>> Would it be a good idea to set the beresp.ttl for a specific url based on
>> the cache control header, if present and set public? What can be the
>> tradeoff for doing that?
>>
>> Any hints/examples are appreciated too.
>>
>> Thanks!
>>
>> _______________________________________________
>> varnish-misc mailing list
>> [email protected]
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>
>
>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to