Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_geo_module.xml @ 714:ec33576efaa5
Added note about minimal impact of declaring multiple variables (geo, map).
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 09 Oct 2012 12:39:31 +0000 |
parents | 764fbac1b8b4 |
children | 81ec181c084e |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_geo_module.xml +++ b/xml/en/docs/http/ngx_http_geo_module.xml @@ -55,6 +55,17 @@ geo $arg_remote_addr $geo { ...; } </example> +</para> + +<para> +<note> +Since variables are evaluated only when used, the mere existence +of even a large number of declared “<literal>geo</literal>” variables +does not incur any extra costs for request processing. +</note> +</para> + +<para> If the value of a variable does not represent a valid IP address then the “<literal>255.255.255.255</literal>” address is used. </para>