Purge
Poul-Henning Kamp
phk at phk.freebsd.dk
Fri Jul 21 12:15:53 CEST 2006
In message <ujr7j27bbu7.fsf at cat.linpro.no>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgra
v?= writes:
>"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
>> Setting the TTL would be something as simple as:
>>
>> sub vcl_fetch {
>> if (req.url = "/") {
>> obj.ttl = 120;
>> }
>> }
>
>We can do regexp matching there as well, right?
Once we tech the runtime how to, yes.
--
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