comparison xml/en/docs/ngx_core_module.xml @ 289:df261b1ce71f

Documented the --with-pcre-jit configuration parameter and the "pcre_jit" directive.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 28 Dec 2011 12:51:26 +0000
parents 4c6d2c614d2c
children 43c84d19bf92
comparison
equal deleted inserted replaced
288:b33d3f3cd8ca 289:df261b1ce71f
175 </para> 175 </para>
176 176
177 </directive> 177 </directive>
178 178
179 179
180 <directive name="pcre_jit">
181 <syntax><literal>on</literal> | <literal>off</literal></syntax>
182 <default>off</default>
183 <context>main</context>
184 <appeared-in>1.1.12</appeared-in>
185
186 <para>
187 Enables or disables the use of “just-in-time compilation” (PCRE JIT)
188 for regular expressions known at configuration parse time.
189 </para>
190
191 <para>
192 PCRE JIT can speed up processing of regular expressions significantly.
193 <note>
194 The JIT is available in PCRE libraries starting from version 8.20
195 built with the <literal>--enable-jit</literal> configuration parameter.
196 When building the PCRE library with nginx (<literal>--with-pcre=</literal>),
197 the JIT support should be enabled with the
198 <literal>--with-pcre-jit</literal> configuration parameter.
199 </note>
200 </para>
201
202 </directive>
203
204
180 <directive name="pid"> 205 <directive name="pid">
181 <syntax><value>file</value></syntax> 206 <syntax><value>file</value></syntax>
182 <default>nginx.pid</default> 207 <default>nginx.pid</default>
183 <context>main</context> 208 <context>main</context>
184 209