VCL: edit header tokens/entities
Poul-Henning Kamp
phk at phk.freebsd.dk
Thu Aug 28 10:35:15 CEST 2014
--------
In message <53FEE70B.10200 at schokola.de>, Nils Goroll writes:
>On 28/08/14 08:57, Poul-Henning Kamp wrote:
>> Btw, mildly related to this: Long time ago we talked about being able
>> to work on sub-parts of http headers:
>>
>> if (INT(beresp.http.cache-control.max-age, 0) > 1200) {
>> set beresp.http.cache-contro.max-age = 1200;
>> }
>>
>> We may want to reconsider this before we write too intricate VCL
>
>+1 !
>
>I volunteer to work on this, if you think it would make sense, phk.
Go for it!
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-dev
mailing list