changeset 1352:dbb618f60a54

Elaborate on writing proxied responses to files. Added a note that restrictions imposed by proxy_max_temp_file_size, proxy_temp_file_write_size and Co. do not apply to responses that will be cached or saved on disk.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 11 Nov 2014 17:31:37 +0300
parents 47e98e05b8dc
children 25db29c8875e
files xml/en/docs/http/ngx_http_fastcgi_module.xml xml/en/docs/http/ngx_http_proxy_module.xml xml/en/docs/http/ngx_http_scgi_module.xml xml/en/docs/http/ngx_http_uwsgi_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_scgi_module.xml xml/ru/docs/http/ngx_http_uwsgi_module.xml
diffstat 8 files changed, 73 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml
+++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_fastcgi_module"
         link="/en/docs/http/ngx_http_fastcgi_module.html"
         lang="en"
-        rev="22">
+        rev="23">
 
 <section id="summary">
 
@@ -810,6 +810,14 @@ by the <link id="fastcgi_temp_file_write
 The zero value disables buffering of responses to temporary files.
 </para>
 
+<para>
+<note>
+This restriction does not apply to responses
+that will be <link id="fastcgi_cache">cached</link>
+or <link id="fastcgi_store">stored</link> on disk.
+</note>
+</para>
+
 </directive>
 
 
--- a/xml/en/docs/http/ngx_http_proxy_module.xml
+++ b/xml/en/docs/http/ngx_http_proxy_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_proxy_module"
         link="/en/docs/http/ngx_http_proxy_module.html"
         lang="en"
-        rev="29">
+        rev="30">
 
 <section id="summary">
 
@@ -931,6 +931,14 @@ by the <link id="proxy_temp_file_write_s
 The zero value disables buffering of responses to temporary files.
 </para>
 
+<para>
+<note>
+This restriction does not apply to responses
+that will be <link id="proxy_cache">cached</link>
+or <link id="proxy_store">stored</link> on disk.
+</note>
+</para>
+
 </directive>
 
 
--- a/xml/en/docs/http/ngx_http_scgi_module.xml
+++ b/xml/en/docs/http/ngx_http_scgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_scgi_module"
         link="/en/docs/http/ngx_http_scgi_module.html"
         lang="en"
-        rev="10">
+        rev="11">
 
 <section id="summary">
 
@@ -729,6 +729,14 @@ by the <link id="scgi_temp_file_write_si
 The zero value disables buffering of responses to temporary files.
 </para>
 
+<para>
+<note>
+This restriction does not apply to responses
+that will be <link id="scgi_cache">cached</link>
+or <link id="scgi_store">stored</link> on disk.
+</note>
+</para>
+
 </directive>
 
 
--- a/xml/en/docs/http/ngx_http_uwsgi_module.xml
+++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_uwsgi_module"
         link="/en/docs/http/ngx_http_uwsgi_module.html"
         lang="en"
-        rev="11">
+        rev="12">
 
 <section id="summary">
 
@@ -730,6 +730,14 @@ by the <link id="uwsgi_temp_file_write_s
 The zero value disables buffering of responses to temporary files.
 </para>
 
+<para>
+<note>
+This restriction does not apply to responses
+that will be <link id="uwsgi_cache">cached</link>
+or <link id="uwsgi_store">stored</link> on disk.
+</note>
+</para>
+
 </directive>
 
 
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml
+++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_fastcgi_module"
         link="/ru/docs/http/ngx_http_fastcgi_module.html"
         lang="ru"
-        rev="22">
+        rev="23">
 
 <section id="summary">
 
@@ -808,6 +808,14 @@ FastCGI-сервера, и ответ не вмещается целиком в буферы,
 Значение 0 отключает возможность буферизации ответов во временные файлы.
 </para>
 
+<para>
+<note>
+Данное ограничение не распространяется на ответы,
+которые будут <link id="fastcgi_cache">закэшированы</link>
+или <link id="fastcgi_store">сохранены</link> на диске.
+</note>
+</para>
+
 </directive>
 
 
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml
+++ b/xml/ru/docs/http/ngx_http_proxy_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_proxy_module"
         link="/ru/docs/http/ngx_http_proxy_module.html"
         lang="ru"
-        rev="29">
+        rev="30">
 
 <section id="summary">
 
@@ -925,7 +925,15 @@ nginx не передаёт клиенту поля заголовка <header>Date</header>,
 </para>
 
 <para>
-Значение 0 отключает буферизацию ответов во временные файлы.
+Значение 0 отключает возможность буферизации ответов во временные файлы.
+</para>
+
+<para>
+<note>
+Данное ограничение не распространяется на ответы,
+которые будут <link id="proxy_cache">закэшированы</link>
+или <link id="proxy_store">сохранены</link> на диске.
+</note>
 </para>
 
 </directive>
--- a/xml/ru/docs/http/ngx_http_scgi_module.xml
+++ b/xml/ru/docs/http/ngx_http_scgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_scgi_module"
         link="/ru/docs/http/ngx_http_scgi_module.html"
         lang="ru"
-        rev="10">
+        rev="11">
 
 <section id="summary">
 
@@ -726,6 +726,14 @@ SCGI-сервера, и ответ не вмещается целиком в буферы,
 Значение 0 отключает возможность буферизации ответов во временные файлы.
 </para>
 
+<para>
+<note>
+Данное ограничение не распространяется на ответы,
+которые будут <link id="scgi_cache">закэшированы</link>
+или <link id="scgi_store">сохранены</link> на диске.
+</note>
+</para>
+
 </directive>
 
 
--- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml
+++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_uwsgi_module"
         link="/ru/docs/http/ngx_http_uwsgi_module.html"
         lang="ru"
-        rev="11">
+        rev="12">
 
 <section id="summary">
 
@@ -726,6 +726,14 @@ uwsgi-сервера, и ответ не вмещается целиком в буферы,
 Значение 0 отключает возможность буферизации ответов во временные файлы.
 </para>
 
+<para>
+<note>
+Данное ограничение не распространяется на ответы,
+которые будут <link id="uwsgi_cache">закэшированы</link>
+или <link id="uwsgi_store">сохранены</link> на диске.
+</note>
+</para>
+
 </directive>