Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_fastcgi_module.xml @ 1796:1d576e8d6ead
Clarified the "levels" parameter of proxy_cache_path and friends.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 04 Jul 2016 14:29:09 +0300 |
parents | be371be7a5c8 |
children | 621d0c682113 |
comparison
equal
deleted
inserted
replaced
1795:d4a584797f51 | 1796:1d576e8d6ead |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_fastcgi_module" | 10 <module name="Module ngx_http_fastcgi_module" |
11 link="/en/docs/http/ngx_http_fastcgi_module.html" | 11 link="/en/docs/http/ngx_http_fastcgi_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="35"> | 13 rev="36"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_fastcgi_module</literal> module allows passing | 18 The <literal>ngx_http_fastcgi_module</literal> module allows passing |
356 Sets the path and other parameters of a cache. | 356 Sets the path and other parameters of a cache. |
357 Cache data are stored in files. | 357 Cache data are stored in files. |
358 Both the key and file name in a cache are a result of | 358 Both the key and file name in a cache are a result of |
359 applying the MD5 function to the proxied URL. | 359 applying the MD5 function to the proxied URL. |
360 | 360 |
361 The <literal>levels</literal> parameter defines hierarchy levels of a cache. | 361 The <literal>levels</literal> parameter defines hierarchy levels of a cache: |
362 from 1 to 3, each level accepts values 1 or 2. | |
362 For example, in the following configuration | 363 For example, in the following configuration |
363 <example> | 364 <example> |
364 fastcgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; | 365 fastcgi_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; |
365 </example> | 366 </example> |
366 file names in a cache will look like this: | 367 file names in a cache will look like this: |