Hi All,

Simple perf question, hopefully easy enough to answer that I don't need to spin 
up a test environment!

My options are:

 map  http://site.com      http://origin.site.com
 map  http://www.site.com  http://origin.site.com

vs...

 regex_map http://^(www\.)?site\.com$/  http://origin.site.com

We have approx 1000 similar rules. Intuitively I would guess that using 2 map 
rules each time would be a performance win over using a single regex_map rule. 
Is that likely to be:
- correct?
- incorrect?
- "it depends" / not that simple and I really should test it?

Thanks in advance,
Tom



Reply via email to