Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_js_module.xml @ 3007:3184864bbb3f
Added SharedDict to njs Reference.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 16 Aug 2023 12:12:22 +0100 |
parents | 7eafa16bb07c |
children | 4470b2bff7b7 |
comparison
equal
deleted
inserted
replaced
3006:0e805229dd19 | 3007:3184864bbb3f |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_http_js_module" | 9 <module name="Module ngx_http_js_module" |
10 link="/en/docs/http/ngx_http_js_module.html" | 10 link="/en/docs/http/ngx_http_js_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="40"> | 12 rev="41"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_http_js_module</literal> module is used to implement | 17 The <literal>ngx_http_js_module</literal> module is used to implement |
635 <context>http</context> | 635 <context>http</context> |
636 <appeared-in>0.8.0</appeared-in> | 636 <appeared-in>0.8.0</appeared-in> |
637 | 637 |
638 <para> | 638 <para> |
639 Sets the <value>name</value> and <value>size</value> of the shared memory zone | 639 Sets the <value>name</value> and <value>size</value> of the shared memory zone |
640 that keeps the key-value dictionary | 640 that keeps the |
641 key-value <link doc="../njs/reference.xml" id="dict">dictionary</link> | |
641 shared between worker processes. | 642 shared between worker processes. |
642 </para> | 643 </para> |
643 | 644 |
644 <para> | 645 <para> |
645 By default the shared dictionary uses a string as a key and a value. | 646 By default the shared dictionary uses a string as a key and a value. |