VCL: edit header tokens/entities

Nils Goroll slink at schokola.de
Thu Aug 28 10:23:39 CEST 2014


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.



More information about the varnish-dev mailing list