Thanks for the clarification. I guess I'll have dig up my C knowledges now!

-Hugues

On Thu, Oct 11, 2012 at 3:46 AM, Tollef Fog Heen <
[email protected]> wrote:

> ]] Hugues Alary
>
> > I don't know if it's gonna be the solution I'll adopt, but at this very
> > moment I only have that or coding a vmod. However I don't think that
> coding
> > a vmod is a solution as I would just implement something (regular
> > expression evaluation at run time) that phk says being too expensive.
>
> Yes, compiling it is expensive, but if you can afford it or not is
> obviously going to depend on the amount of CPU you have and your request
> rates.
>
> We currently don't support doing runtime compilation of regexes (as you
> discovered), so a vmod would be a way to go for now.
>
> --
> Tollef Fog Heen
> Technical lead, Varnish Software
> t: +47 21 98 92 64
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
Hugues ALARY
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to