Setting default_ttl in vcl file
Steve Scally
steve at kcilink.com
Thu Oct 25 17:41:16 CEST 2007
> Steve Scally <steve at kcilink.com> writes:
>> "I could either add code to the rc script to read in a list of run-
>> time parameters and pass them on the command line."
>>
>> This would work great something like this: varnishd_ttl or
>> varnishd_default_ttl etc,
>
> default_ttl is only one of about two dozen run-time parameters, I
> don't want to have to add a separate rc variable for each of them.
>
> DES
> --
> Dag-Erling Smørgrav
> Senior Software Developer
> Linpro AS - www.linpro.no
Yes, after thinking about it adding a value for every option would be
cumbersome, especially every time a new parameter option was added.
The reason this question even came about was during my load testing
when I needed to change the default cache time to see performance
increases / decreases and in my previous post it also helps with
generating config files. In this view however, I was only concerned
with the default_ttl and did not stop to think about the other
configuration options. As it stands the parameter is configurable 3
ways and the default works fine for me as is. Although my priority
is not high for this ,it would be a nice configuration option to
have. How do you handle future feature requests? Should I create a
ticket requesting this feature?
Steve
More information about the varnish-dist
mailing list