Mercurial > hg > nginx-site
changeset 1190:dd4cfc6ce770
Corrected description of *_cache_path file names.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 16 May 2014 14:45:14 +0400 |
parents | f25d00109de0 |
children | ea85ba147fe9 |
files | xml/en/docs/http/ngx_http_proxy_module.xml xml/en/docs/http/ngx_http_scgi_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_scgi_module.xml |
diffstat | 4 files changed, 14 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- 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="20"> + rev="21"> <section id="summary"> @@ -308,9 +308,9 @@ will be cached. <para> Sets the path and other parameters of a cache. Cache data are stored in files. -Both the key and file name in a cache are a result of -applying the MD5 function to the proxied URL. - +The file name in a cache is a result of +applying the MD5 function to the +<link id="proxy_cache_key">cache key</link>. The <literal>levels</literal> parameter defines hierarchy levels of a cache. For example, in the following configuration <example>
--- 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="2"> + rev="3"> <section id="summary"> @@ -301,8 +301,9 @@ will be cached. <para> Sets the path and other parameters of a cache. Cache data are stored in files. -Both the key and file name in a cache are a result of -applying the MD5 function to the proxied URL. +The file name in a cache is a result of +applying the MD5 function to the +<link id="scgi_cache_key">cache key</link>. The <literal>levels</literal> parameter defines hierarchy levels of a cache. For example, in the following configuration <example>
--- 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="20"> + rev="21"> <section id="summary"> @@ -306,8 +306,8 @@ proxy_cache_key $scheme$proxy_host$uri$i <para> Задаёт путь и другие параметры кэша. Данные кэша хранятся в файлах. -Ключом и именем файла в кэше является результат функции MD5 -от проксированного URL. +Именем файла в кэше является результат функции MD5 +от <link id="proxy_cache_key">ключа кэширования</link>. Параметр <literal>levels</literal> задаёт уровни иерархии кэша, например, при использовании <example>
--- 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="2"> + rev="3"> <section id="summary"> @@ -299,8 +299,8 @@ scgi_cache_key localhost:9000$request_ur <para> Задаёт путь и другие параметры кэша. Данные кэша хранятся в файлах. -Ключом и именем файла в кэше является результат функции MD5 -от проксированного URL. +Именем файла в кэше является результат функции MD5 +от <link id="scgi_cache_key">ключа кэширования</link>. Параметр <literal>levels</literal> задаёт уровни иерархии кэша, например, при использовании <example>