<span style="color:red">WARNING: this article is obsoleted. Please refer to http://nginx.org/en/docs/ for the latest official documentation.</span>

+

= Synopsis =

= Synopsis =

This module allows you to classify, or map a set of values into a different set of values, storing the result in a variable. The map directive creates the variable, but only performs the mapping operation when (and if) the variable is accessed. There is no performance penalty for processing requests which do not end up referencing the variable.

This module allows you to classify, or map a set of values into a different set of values, storing the result in a variable. The map directive creates the variable, but only performs the mapping operation when (and if) the variable is accessed. There is no performance penalty for processing requests which do not end up referencing the variable.

The directive sets the maximum size in a hash table to map variables. The default value depends on the size of the cache line processor. More see in the descriptions of hash settings in the [[NginxOptimizations|Optimization section]] .

The directive sets the maximum size in a hash table to map variables. The default value depends on the size of the cache line processor. More see in the descriptions of hash settings in the [[NginxOptimizations|Optimization section]] .

= References =

= References =

−

[http://nginx.org/en/docs/http/ngx_http_map_module.html Original Documentation]

Contents

Synopsis

This module allows you to classify, or map a set of values into a different set of values, storing the result in a variable. The map directive creates the variable, but only performs the mapping operation when (and if) the variable is accessed. There is no performance penalty for processing requests which do not end up referencing the variable.

map_hash_bucket_size

The directive sets the maximum size in a hash table to map variables. The default value depends on the size of the cache line processor. More see in the descriptions of hash settings in the Optimization section .