On 6/1/11, António P. P. Almeida <appa@perusio.net> wrote:
> Question: Is using the map directive more efficient than using a
> "naive" if with access control directives?
I think it's just considered to be a bad practice to use anything
rather than return or rewrite in ifs.
In terms of efficiency: geo uses rbtrees and access module uses
arrays. But I don't think it's about that. It's more of an example to
illustrate how to use multiple conditions and new features in nginx.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx