VCL language
Anders Berg
Anders.Berg at vg.no
Thu Mar 30 14:41:15 CEST 2006
> -----Opprinnelig melding-----
> Fra: phk at critter.freebsd.dk [mailto:phk at critter.freebsd.dk] På vegne
> > >I guess most appications have a Expires header either they
> are right or
> >not. So while obj.cacheable is good and we should keep it, we need
> >maybe
> >1 more.
> >So I would suggest a
> >
> >21 if (obj.url ~ "/nicely_written"){
> >22 trust_header;
> >23 }
>
>
> Hmm, I think that by default we should expect non-broken behaviour, so
> I would rather have a "disregard_headers" sort of escape than having
> to explicitly mark backends which actually do work correctly.
>
> Maybe I'm naïve here :-)
Sorry, I was nesting in my head here. You are right. The default should work correctly.
> >Good work. This problem could maybe just be a semantic and
> >implementation challange.
>
> Yes, I rather think so, I don't think there is any doubt about the
> basic VCL idea being the right way to go, it's just a matter of
> getting the actual language optimized for expressing what people want
> to say.
It really looks that way. Puhh :)
Anders Berg
*****************************************************************
Denne fotnoten bekrefter at denne e-postmeldingen ble
skannet av MailSweeper og funnet fri for virus.
*****************************************************************
This footnote confirms that this email message has been swept by
MailSweeper for the presence of computer viruses.
*****************************************************************
More information about the varnish-dev
mailing list