comparison xml/en/docs/stream/ngx_stream_js_module.xml @ 2996:98bd95a5ac70

Added link to Preload Objects from js_preload_object.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 16 Aug 2023 12:12:22 +0100
parents 7e83ebfac8ca
children 7eafa16bb07c
comparison
equal deleted inserted replaced
2995:89ab7fc9fea5 2996:98bd95a5ac70
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
8 8
9 <module name="Module ngx_stream_js_module" 9 <module name="Module ngx_stream_js_module"
10 link="/en/docs/stream/ngx_stream_js_module.html" 10 link="/en/docs/stream/ngx_stream_js_module.html"
11 lang="en" 11 lang="en"
12 rev="36"> 12 rev="37">
13 13
14 <section id="summary"> 14 <section id="summary">
15 15
16 <para> 16 <para>
17 The <literal>ngx_stream_js_module</literal> module is used to implement 17 The <literal>ngx_stream_js_module</literal> module is used to implement
465 <context>stream</context> 465 <context>stream</context>
466 <context>server</context> 466 <context>server</context>
467 <appeared-in>0.7.8</appeared-in> 467 <appeared-in>0.7.8</appeared-in>
468 468
469 <para> 469 <para>
470 Preloads an immutable object at configure time. 470 Preloads an
471 <link doc="../njs/preload_objects.xml">immutable object</link>
472 at configure time.
471 The <literal>name</literal> is used a name of the global variable 473 The <literal>name</literal> is used a name of the global variable
472 though which the object is available in njs code. 474 though which the object is available in njs code.
473 If the <literal>name</literal> is not specified, 475 If the <literal>name</literal> is not specified,
474 the file name will be used instead. 476 the file name will be used instead.
475 <example> 477 <example>