A lot of if statements to handle hostnames

Per Buer perbu at varnish-software.com
Wed Mar 9 10:13:18 CET 2011

On Tue, Mar 8, 2011 at 6:50 PM, Paul Lu <paul.lu81 at gmail.com> wrote:

> Primarily just to make the code cleaner and a little concerned if I have a
> lot of hostnames.  100 for example.  Having to potentially traverse several
> if statements for each request seems inefficient to me.

Don't worry about it. I think we've clearly established that it isn't (in a
parallel thread).

Per Buer, Varnish Software
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
Varnish makes websites fly!
Want to learn more about Varnish?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110309/dfa94d19/attachment-0003.html>

More information about the varnish-misc mailing list