comparison xml/en/docs/http/ngx_http_fastcgi_module.xml @ 1582:8973c7b37854

Updated commercial docs. details: http://hg.nginx.com/nginx.org-se/rev/23bf3610377f branches: se changeset: 1814:23bf3610377f user: Yaroslav Zhuravlev <yar@nginx.com> description: Added purge parameters to proxy_cache_path and friends. diffstat: xml/en/docs/http/ngx_http_fastcgi_module.xml | 60 +++++++++++++++++++++++++++- xml/en/docs/http/ngx_http_proxy_module.xml | 60 +++++++++++++++++++++++++++- xml/en/docs/http/ngx_http_scgi_module.xml | 60 +++++++++++++++++++++++++++- xml/en/docs/http/ngx_http_uwsgi_module.xml | 60 +++++++++++++++++++++++++++- xml/ru/docs/http/ngx_http_fastcgi_module.xml | 60 +++++++++++++++++++++++++++- xml/ru/docs/http/ngx_http_proxy_module.xml | 60 +++++++++++++++++++++++++++- xml/ru/docs/http/ngx_http_scgi_module.xml | 60 +++++++++++++++++++++++++++- xml/ru/docs/http/ngx_http_uwsgi_module.xml | 60 +++++++++++++++++++++++++++- 8 files changed, 472 insertions(+), 8 deletions(-) diffs (truncated from 672 to 500 lines):
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 30 Sep 2015 18:48:54 +0300
parents 305f2c338181
children a225fa77389a
comparison
equal deleted inserted replaced
1581:201bf8fa69e5 1582:8973c7b37854
327 <literal>keys_zone</literal>=<value>name</value>:<value>size</value> 327 <literal>keys_zone</literal>=<value>name</value>:<value>size</value>
328 [<literal>inactive</literal>=<value>time</value>] 328 [<literal>inactive</literal>=<value>time</value>]
329 [<literal>max_size</literal>=<value>size</value>] 329 [<literal>max_size</literal>=<value>size</value>]
330 [<literal>loader_files</literal>=<value>number</value>] 330 [<literal>loader_files</literal>=<value>number</value>]
331 [<literal>loader_sleep</literal>=<value>time</value>] 331 [<literal>loader_sleep</literal>=<value>time</value>]
332 [<literal>loader_threshold</literal>=<value>time</value>]</syntax> 332 [<literal>loader_threshold</literal>=<value>time</value>]
333 [<literal>purger</literal>=<literal>on</literal>|<literal>off</literal>]
334 [<literal>purger_files</literal>=<value>number</value>]
335 [<literal>purger_sleep</literal>=<value>time</value>]
336 [<literal>purger_threshold</literal>=<value>time</value>]</syntax>
333 <default/> 337 <default/>
334 <context>http</context> 338 <context>http</context>
335 339
336 <para> 340 <para>
337 Sets the path and other parameters of a cache. 341 Sets the path and other parameters of a cache.
400 <literal>loader_threshold</literal> parameter (by default, 200 milliseconds). 404 <literal>loader_threshold</literal> parameter (by default, 200 milliseconds).
401 Between iterations, a pause configured by the <literal>loader_sleep</literal> 405 Between iterations, a pause configured by the <literal>loader_sleep</literal>
402 parameter (by default, 50 milliseconds) is made. 406 parameter (by default, 50 milliseconds) is made.
403 </para> 407 </para>
404 408
409 <para>
410 Additionally,
411 the following parameters are available as part of our
412 <commercial_version>commercial subscription</commercial_version>:
413 </para>
414
415 <para>
416 <list type="tag">
417
418 <tag-name id="purger">
419 <literal>purger</literal>=<literal>on</literal>|<literal>off</literal>
420 </tag-name>
421 <tag-desc>
422 Instructs whether cache entries that match a
423 <link id="fastcgi_cache_purge">wildcard key</link>
424 will be removed from the disk by the cache purger (1.7.12).
425 Setting the parameter to <literal>on</literal>
426 (default is <literal>off</literal>)
427 will activate the “cache purger” process that
428 permanently iterates through all cache entries
429 and deletes the entries that match the wildcard key.
430 </tag-desc>
431
432 <tag-name id="purger_files">
433 <literal>purger_files</literal>=<value>number</value>
434 </tag-name>
435 <tag-desc>
436 Sets the number of items that will be scanned during one iteration (1.7.12).
437 By default, <literal>purger_files</literal> is set to 10.
438 </tag-desc>
439
440 <tag-name id="purger_threshold">
441 <literal>purger_threshold</literal>=<value>number</value>
442 </tag-name>
443 <tag-desc>
444 Sets the duration of one iteration (1.7.12).
445 By default, <literal>purger_threshold</literal> is set to 50 milliseconds.
446 </tag-desc>
447
448 <tag-name id="purger_sleep">
449 <literal>purger_sleep</literal>=<value>number</value>
450 </tag-name>
451 <tag-desc>
452 Sets a pause between iterations (1.7.12).
453 By default, <literal>purger_sleep</literal> is set to 50 milliseconds.
454 </tag-desc>
455
456 </list>
457 </para>
458
405 </directive> 459 </directive>
406 460
407 461
408 <directive name="fastcgi_cache_purge"> 462 <directive name="fastcgi_cache_purge">
409 <syntax>string ...</syntax> 463 <syntax>string ...</syntax>
425 479
426 <para> 480 <para>
427 If the <link id="fastcgi_cache_key">cache key</link> of a purge request ends 481 If the <link id="fastcgi_cache_key">cache key</link> of a purge request ends
428 with an asterisk (“<literal>*</literal>”), all cache entries matching the 482 with an asterisk (“<literal>*</literal>”), all cache entries matching the
429 wildcard key will be removed from the cache. 483 wildcard key will be removed from the cache.
484 However, these entries will remain on the disk until they are deleted
485 for either <link id="fastcgi_cache_path">inactivity</link>,
486 or processed by the <link id="purger">cache purger</link> (1.7.12),
487 or a client attempts to access them.
430 </para> 488 </para>
431 489
432 <para> 490 <para>
433 Example configuration: 491 Example configuration:
434 <example> 492 <example>