diff 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
line wrap: on
line diff
--- a/xml/en/docs/ngx_core_module.xml	Wed Dec 28 07:52:41 2011 +0000
+++ b/xml/en/docs/ngx_core_module.xml	Wed Dec 28 12:51:26 2011 +0000
@@ -177,6 +177,31 @@
 </directive>
 
 
+<directive name="pcre_jit">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>main</context>
+<appeared-in>1.1.12</appeared-in>
+
+<para>
+Enables or disables the use of “just-in-time compilation” (PCRE JIT)
+for regular expressions known at configuration parse time.
+</para>
+
+<para>
+PCRE JIT can speed up processing of regular expressions significantly.
+<note>
+The JIT is available in PCRE libraries starting from version 8.20
+built with the <literal>--enable-jit</literal> configuration parameter.
+When building the PCRE library with nginx (<literal>--with-pcre=</literal>),
+the JIT support should be enabled with the
+<literal>--with-pcre-jit</literal> configuration parameter.
+</note>
+</para>
+
+</directive>
+
+
 <directive name="pid">
 <syntax><value>file</value></syntax>
 <default>nginx.pid</default>