comparison xml/en/docs/http/ngx_http_uwsgi_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
318 <literal>keys_zone</literal>=<value>name</value>:<value>size</value> 318 <literal>keys_zone</literal>=<value>name</value>:<value>size</value>
319 [<literal>inactive</literal>=<value>time</value>] 319 [<literal>inactive</literal>=<value>time</value>]
320 [<literal>max_size</literal>=<value>size</value>] 320 [<literal>max_size</literal>=<value>size</value>]
321 [<literal>loader_files</literal>=<value>number</value>] 321 [<literal>loader_files</literal>=<value>number</value>]
322 [<literal>loader_sleep</literal>=<value>time</value>] 322 [<literal>loader_sleep</literal>=<value>time</value>]
323 [<literal>loader_threshold</literal>=<value>time</value>]</syntax> 323 [<literal>loader_threshold</literal>=<value>time</value>]
324 [<literal>purger</literal>=<literal>on</literal>|<literal>off</literal>]
325 [<literal>purger_files</literal>=<value>number</value>]
326 [<literal>purger_sleep</literal>=<value>time</value>]
327 [<literal>purger_threshold</literal>=<value>time</value>]</syntax>
324 <default/> 328 <default/>
325 <context>http</context> 329 <context>http</context>
326 330
327 <para> 331 <para>
328 Sets the path and other parameters of a cache. 332 Sets the path and other parameters of a cache.
391 <literal>loader_threshold</literal> parameter (by default, 200 milliseconds). 395 <literal>loader_threshold</literal> parameter (by default, 200 milliseconds).
392 Between iterations, a pause configured by the <literal>loader_sleep</literal> 396 Between iterations, a pause configured by the <literal>loader_sleep</literal>
393 parameter (by default, 50 milliseconds) is made. 397 parameter (by default, 50 milliseconds) is made.
394 </para> 398 </para>
395 399
400 <para>
401 Additionally,
402 the following parameters are available as part of our
403 <commercial_version>commercial subscription</commercial_version>:
404 </para>
405
406 <para>
407 <list type="tag">
408
409 <tag-name id="purger">
410 <literal>purger</literal>=<literal>on</literal>|<literal>off</literal>
411 </tag-name>
412 <tag-desc>
413 Instructs whether cache entries that match a
414 <link id="uwsgi_cache_purge">wildcard key</link>
415 will be removed from the disk by the cache purger (1.7.12).
416 Setting the parameter to <literal>on</literal>
417 (default is <literal>off</literal>)
418 will activate the “cache purger” process that
419 permanently iterates through all cache entries
420 and deletes the entries that match the wildcard key.
421 </tag-desc>
422
423 <tag-name id="purger_files">
424 <literal>purger_files</literal>=<value>number</value>
425 </tag-name>
426 <tag-desc>
427 Sets the number of items that will be scanned during one iteration (1.7.12).
428 By default, <literal>purger_files</literal> is set to 10.
429 </tag-desc>
430
431 <tag-name id="purger_threshold">
432 <literal>purger_threshold</literal>=<value>number</value>
433 </tag-name>
434 <tag-desc>
435 Sets the duration of one iteration (1.7.12).
436 By default, <literal>purger_threshold</literal> is set to 50 milliseconds.
437 </tag-desc>
438
439 <tag-name id="purger_sleep">
440 <literal>purger_sleep</literal>=<value>number</value>
441 </tag-name>
442 <tag-desc>
443 Sets a pause between iterations (1.7.12).
444 By default, <literal>purger_sleep</literal> is set to 50 milliseconds.
445 </tag-desc>
446
447 </list>
448 </para>
449
396 </directive> 450 </directive>
397 451
398 452
399 <directive name="uwsgi_cache_purge"> 453 <directive name="uwsgi_cache_purge">
400 <syntax>string ...</syntax> 454 <syntax>string ...</syntax>
416 470
417 <para> 471 <para>
418 If the <link id="uwsgi_cache_key">cache key</link> of a purge request ends 472 If the <link id="uwsgi_cache_key">cache key</link> of a purge request ends
419 with an asterisk (“<literal>*</literal>”), all cache entries matching the 473 with an asterisk (“<literal>*</literal>”), all cache entries matching the
420 wildcard key will be removed from the cache. 474 wildcard key will be removed from the cache.
475 However, these entries will remain on the disk until they are deleted
476 for either <link id="uwsgi_cache_path">inactivity</link>,
477 or processed by the <link id="purger">cache purger</link> (1.7.12),
478 or a client attempts to access them.
421 </para> 479 </para>
422 480
423 <para> 481 <para>
424 Example configuration: 482 Example configuration:
425 <example> 483 <example>