Mercurial > hg > nginx-site
changeset 918:ae785c6aaa91
Documented ssi/sub_filter/xslt_last_modified.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 30 May 2013 12:29:56 +0400 |
parents | e26a18eb5ccd |
children | 8b5c5a88ce75 |
files | xml/en/docs/http/ngx_http_ssi_module.xml xml/en/docs/http/ngx_http_sub_module.xml xml/en/docs/http/ngx_http_xslt_module.xml |
diffstat | 3 files changed, 71 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_ssi_module.xml +++ b/xml/en/docs/http/ngx_http_ssi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_ssi_module" link="/en/docs/http/ngx_http_ssi_module.html" lang="en" - rev="2"> + rev="3"> <section id="summary"> @@ -55,6 +55,29 @@ Enables or disables processing of SSI co </directive> +<directive name="ssi_last_modified"> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>off</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.5.1</appeared-in> + +<para> +Allows to preserve the <header>Last-Modified</header> header field +from the original response during SSI processing +to facilitate response caching. +</para> + +<para> +By default, the header field is removed as contents of the response +are modified during processing and may contain dynamically generated elements +or parts that are changed independently of the original response. +</para> + +</directive> + + <directive name="ssi_min_file_chunk"> <syntax><literal>size</literal></syntax> <default>1k</default>
--- a/xml/en/docs/http/ngx_http_sub_module.xml +++ b/xml/en/docs/http/ngx_http_sub_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_sub_module" link="/en/docs/http/ngx_http_sub_module.html" lang="en" - rev="1"> + rev="2"> <section id="summary"> @@ -61,6 +61,28 @@ A replacement string can contain variabl </directive> +<directive name="sub_filter_last_modified"> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>off</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.5.1</appeared-in> + +<para> +Allows to preserve the <header>Last-Modified</header> header field +from the original response during replacement +to facilitate response caching. +</para> + +<para> +By default, the header field is removed as contents of the response +are modified during processing. +</para> + +</directive> + + <directive name="sub_filter_once"> <syntax><literal>on</literal> | <literal>off</literal></syntax> <default>on</default>
--- a/xml/en/docs/http/ngx_http_xslt_module.xml +++ b/xml/en/docs/http/ngx_http_xslt_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_xslt_module" link="/en/docs/http/ngx_http_xslt_module.html" lang="en" - rev="1"> + rev="2"> <section id="summary"> @@ -73,6 +73,29 @@ enough to only declare the required char </directive> +<directive name="xslt_last_modified"> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>off</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.5.1</appeared-in> + +<para> +Allows to preserve the <header>Last-Modified</header> header field +from the original response during XSLT transformations +to facilitate response caching. +</para> + +<para> +By default, the header field is removed as contents of the response +are modified during transformations and may contain dynamically generated +elements or parts that are changed independently of the original response. +</para> + +</directive> + + <directive name="xslt_param"> <syntax><value>parameter</value> <value>value</value></syntax> <default/>