# HG changeset patch # User Yaroslav Zhuravlev # Date 1443628134 -10800 # Node ID 8973c7b3785465dfc735f22ac6073afd5ec56219 # Parent 201bf8fa69e5bb822e7b881ac9b4baa8d1a0370c Updated commercial docs. details: http://hg.nginx.com/nginx.org-se/rev/23bf3610377f branches: se changeset: 1814:23bf3610377f user: Yaroslav Zhuravlev 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): diff -r 201bf8fa69e5 -r 8973c7b37854 xml/en/docs/http/ngx_http_fastcgi_module.xml --- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Tue Oct 06 13:07:58 2015 +0300 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Wed Sep 30 18:48:54 2015 +0300 @@ -329,7 +329,11 @@ [max_size=size] [loader_files=number] [loader_sleep=time] - [loader_threshold=time] + [loader_threshold=time] + [purger=on|off] + [purger_files=number] + [purger_sleep=time] + [purger_threshold=time] http @@ -402,6 +406,56 @@ parameter (by default, 50 milliseconds) is made. + +Additionally, +the following parameters are available as part of our +commercial subscription: + + + + + + +purger=on|off + + +Instructs whether cache entries that match a +wildcard key +will be removed from the disk by the cache purger (1.7.12). +Setting the parameter to on +(default is off) +will activate the “cache purger” process that +permanently iterates through all cache entries +and deletes the entries that match the wildcard key. + + + +purger_files=number + + +Sets the number of items that will be scanned during one iteration (1.7.12). +By default, purger_files is set to 10. + + + +purger_threshold=number + + +Sets the duration of one iteration (1.7.12). +By default, purger_threshold is set to 50 milliseconds. + + + +purger_sleep=number + + +Sets a pause between iterations (1.7.12). +By default, purger_sleep is set to 50 milliseconds. + + + + + @@ -427,6 +481,10 @@ If the cache key of a purge request ends with an asterisk (“*”), all cache entries matching the wildcard key will be removed from the cache. +However, these entries will remain on the disk until they are deleted +for either inactivity, +or processed by the cache purger (1.7.12), +or a client attempts to access them. diff -r 201bf8fa69e5 -r 8973c7b37854 xml/en/docs/http/ngx_http_proxy_module.xml --- a/xml/en/docs/http/ngx_http_proxy_module.xml Tue Oct 06 13:07:58 2015 +0300 +++ b/xml/en/docs/http/ngx_http_proxy_module.xml Wed Sep 30 18:48:54 2015 +0300 @@ -327,7 +327,11 @@ [max_size=size] [loader_files=number] [loader_sleep=time] - [loader_threshold=time] + [loader_threshold=time] + [purger=on|off] + [purger_files=number] + [purger_sleep=time] + [purger_threshold=time] http @@ -400,6 +404,56 @@ parameter (by default, 50 milliseconds) is made. + +Additionally, +the following parameters are available as part of our +commercial subscription: + + + + + + +purger=on|off + + +Instructs whether cache entries that match a +wildcard key +will be removed from the disk by the cache purger (1.7.12). +Setting the parameter to on +(default is off) +will activate the “cache purger” process that +permanently iterates through all cache entries +and deletes the entries that match the wildcard key. + + + +purger_files=number + + +Sets the number of items that will be scanned during one iteration (1.7.12). +By default, purger_files is set to 10. + + + +purger_threshold=number + + +Sets the duration of one iteration (1.7.12). +By default, purger_threshold is set to 50 milliseconds. + + + +purger_sleep=number + + +Sets a pause between iterations (1.7.12). +By default, purger_sleep is set to 50 milliseconds. + + + + + @@ -425,6 +479,10 @@ If the cache key of a purge request ends with an asterisk (“*”), all cache entries matching the wildcard key will be removed from the cache. +However, these entries will remain on the disk until they are deleted +for either inactivity, +or processed by the cache purger (1.7.12), +or a client attempts to access them. diff -r 201bf8fa69e5 -r 8973c7b37854 xml/en/docs/http/ngx_http_scgi_module.xml --- a/xml/en/docs/http/ngx_http_scgi_module.xml Tue Oct 06 13:07:58 2015 +0300 +++ b/xml/en/docs/http/ngx_http_scgi_module.xml Wed Sep 30 18:48:54 2015 +0300 @@ -320,7 +320,11 @@ [max_size=size] [loader_files=number] [loader_sleep=time] - [loader_threshold=time] + [loader_threshold=time] + [purger=on|off] + [purger_files=number] + [purger_sleep=time] + [purger_threshold=time] http @@ -393,6 +397,56 @@ parameter (by default, 50 milliseconds) is made. + +Additionally, +the following parameters are available as part of our +commercial subscription: + + + + + + +purger=on|off + + +Instructs whether cache entries that match a +wildcard key +will be removed from the disk by the cache purger (1.7.12). +Setting the parameter to on +(default is off) +will activate the “cache purger” process that +permanently iterates through all cache entries +and deletes the entries that match the wildcard key. + + + +purger_files=number + + +Sets the number of items that will be scanned during one iteration (1.7.12). +By default, purger_files is set to 10. + + + +purger_threshold=number + + +Sets the duration of one iteration (1.7.12). +By default, purger_threshold is set to 50 milliseconds. + + + +purger_sleep=number + + +Sets a pause between iterations (1.7.12). +By default, purger_sleep is set to 50 milliseconds. + + + + + @@ -418,6 +472,10 @@ If the cache key of a purge request ends with an asterisk (“*”), all cache entries matching the wildcard key will be removed from the cache. +However, these entries will remain on the disk until they are deleted +for either inactivity, +or processed by the cache purger (1.7.12), +or a client attempts to access them. diff -r 201bf8fa69e5 -r 8973c7b37854 xml/en/docs/http/ngx_http_uwsgi_module.xml --- a/xml/en/docs/http/ngx_http_uwsgi_module.xml Tue Oct 06 13:07:58 2015 +0300 +++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml Wed Sep 30 18:48:54 2015 +0300 @@ -320,7 +320,11 @@ [max_size=size] [loader_files=number] [loader_sleep=time] - [loader_threshold=time] + [loader_threshold=time] + [purger=on|off] + [purger_files=number] + [purger_sleep=time] + [purger_threshold=time] http @@ -393,6 +397,56 @@ parameter (by default, 50 milliseconds) is made. + +Additionally, +the following parameters are available as part of our +commercial subscription: + + + + + + +purger=on|off + + +Instructs whether cache entries that match a +wildcard key +will be removed from the disk by the cache purger (1.7.12). +Setting the parameter to on +(default is off) +will activate the “cache purger” process that +permanently iterates through all cache entries +and deletes the entries that match the wildcard key. + + + +purger_files=number + + +Sets the number of items that will be scanned during one iteration (1.7.12). +By default, purger_files is set to 10. + + + +purger_threshold=number + + +Sets the duration of one iteration (1.7.12). +By default, purger_threshold is set to 50 milliseconds. + + + +purger_sleep=number + + +Sets a pause between iterations (1.7.12). +By default, purger_sleep is set to 50 milliseconds. + + + + + @@ -418,6 +472,10 @@ If the cache key of a purge request ends with an asterisk (“*”), all cache entries matching the wildcard key will be removed from the cache. +However, these entries will remain on the disk until they are deleted +for either inactivity, +or processed by the cache purger (1.7.12), +or a client attempts to access them. diff -r 201bf8fa69e5 -r 8973c7b37854 xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Tue Oct 06 13:07:58 2015 +0300 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Wed Sep 30 18:48:54 2015 +0300 @@ -328,7 +328,11 @@ [max_size=размер] [loader_files=число] [loader_sleep=время] - [loader_threshold=время] + [loader_threshold=время] + [purger=on|off] + [purger_files=число] + [purger_sleep=время] + [purger_threshold=время] http @@ -399,6 +403,56 @@ loader_sleep (по умолчанию 50 миллисекунд). + +Кроме того, +следующие параметры доступны как часть +коммерческой подписки: + + + + + + +purger=on|off + + +Указывает, будут ли записи в кэше, соответствующие +маске, +удалены с диска при помощи процесса “cache purger” (1.7.12). +Установка параметра в значение on +(по умолчанию off) +активирует процесс “cache purger”, который +проходит по всем записям в кэше +и удаляет записи, соответствующие этой маске. + + + +purger_files=число + + +Задаёт число элементов, которые будут сканироваться за одну итерацию (1.7.12). +По умолчанию purger_files равен 10. + + + +purger_threshold=время + + +Задаёт продолжительность одной итерации (1.7.12). +По умолчанию purger_threshold равен 50 миллисекундам. + + + +purger_sleep=время + + +Задаёт паузу между итерациями (1.7.12). +По умолчанию purger_sleep равен 50 миллисекундам. + + + + + @@ -425,6 +479,10 @@ запроса на очистку заканчивается звёздочкой (“*”), то все записи в кэше, соответствующие этой маске, будут удалены из кэша. +Тем не менее, эти записи будут оставаться на диске или до момента удаления +из-за отсутствия обращения к данным, +или до обработки их процессом “cache purger” (1.7.12), +или до попытки клиента получить к ним доступ. diff -r 201bf8fa69e5 -r 8973c7b37854 xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml Tue Oct 06 13:07:58 2015 +0300 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Wed Sep 30 18:48:54 2015 +0300 @@ -326,7 +326,11 @@ [max_size=размер] [loader_files=число] [loader_sleep=время] - [loader_threshold=время] + [loader_threshold=время] + [purger=on|off] + [purger_files=число] + [purger_sleep=время] + [purger_threshold=время] http @@ -397,6 +401,56 @@ loader_sleep (по умолчанию 50 миллисекунд). + +Кроме того, +следующие параметры доступны как часть +коммерческой подписки: + + + + + + +purger=on|off + + +Указывает, будут ли записи в кэше, соответствующие +маске, +удалены с диска при помощи процесса “cache purger” (1.7.12). +Установка параметра в значение on +(по умолчанию off) +активирует процесс “cache purger”, который +проходит по всем записям в кэше +и удаляет записи, соответствующие этой маске. + + + +purger_files=число + + +Задаёт число элементов, которые будут сканироваться за одну итерацию (1.7.12). +По умолчанию purger_files равен 10. + + + +purger_threshold=время + + +Задаёт продолжительность одной итерации (1.7.12). +По умолчанию purger_threshold равен 50 миллисекундам. + + + +purger_sleep=время + + +Задаёт паузу между итерациями (1.7.12). +По умолчанию purger_sleep равен 50 миллисекундам. + + + + + @@ -423,6 +477,10 @@ запроса на очистку заканчивается звёздочкой (“*”), то все записи в кэше, соответствующие этой маске, будут удалены из кэша. +Тем не менее, эти записи будут оставаться на диске или до момента удаления +из-за отсутствия обращения к данным, +или до обработки их процессом “cache purger” (1.7.12), +или до попытки клиента получить к ним доступ. diff -r 201bf8fa69e5 -r 8973c7b37854 xml/ru/docs/http/ngx_http_scgi_module.xml --- a/xml/ru/docs/http/ngx_http_scgi_module.xml Tue Oct 06 13:07:58 2015 +0300 +++ b/xml/ru/docs/http/ngx_http_scgi_module.xml Wed Sep 30 18:48:54 2015 +0300 @@ -319,7 +319,11 @@ [max_size=размер] [loader_files=число] [loader_sleep=время] - [loader_threshold=время] + [loader_threshold=время] + [purger=on|off] + [purger_files=число] + [purger_sleep=время] + [purger_threshold=время] http @@ -390,6 +394,56 @@ loader_sleep (по умолчанию 50 миллисекунд). + +Кроме того, +следующие параметры доступны как часть +коммерческой подписки: + + + + + + +purger=on|off + + +Указывает, будут ли записи в кэше, соответствующие +маске, +удалены с диска при помощи процесса “cache purger” (1.7.12). +Установка параметра в значение on +(по умолчанию off) +активирует процесс “cache purger”, который +проходит по всем записям в кэше +и удаляет записи, соответствующие этой маске. + + + +purger_files=число + + +Задаёт число элементов, которые будут сканироваться за одну итерацию (1.7.12). +По умолчанию purger_files равен 10. + + + +purger_threshold=время + + +Задаёт продолжительность одной итерации (1.7.12). +По умолчанию purger_threshold равен 50 миллисекундам. + + + +purger_sleep=время + + +Задаёт паузу между итерациями (1.7.12). +По умолчанию purger_sleep равен 50 миллисекундам. + + + + + @@ -416,6 +470,10 @@ запроса на очистку заканчивается звёздочкой (“*”), то все записи в кэше, соответствующие этой маске, будут удалены из кэша. +Тем не менее, эти записи будут оставаться на диске или до момента удаления +из-за отсутствия обращения к данным, +или до обработки их процессом “cache purger” (1.7.12), +или до попытки клиента получить к ним доступ. diff -r 201bf8fa69e5 -r 8973c7b37854 xml/ru/docs/http/ngx_http_uwsgi_module.xml --- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml Tue Oct 06 13:07:58 2015 +0300 +++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml Wed Sep 30 18:48:54 2015 +0300 @@ -318,7 +318,11 @@ [max_size=размер] [loader_files=число] [loader_sleep=время] - [loader_threshold=время] + [loader_threshold=время] + [purger=on|off] + [purger_files=число] + [purger_sleep=время] + [purger_threshold=время] http @@ -389,6 +393,56 @@ loader_sleep (по умолчанию 50 миллисекунд). + +Кроме того, +следующие параметры доступны как часть +коммерческой подписки: + + + + + + +purger=on|off + + +Указывает, будут ли записи в кэше, соответствующие +маске, +удалены с диска при помощи процесса “cache purger” (1.7.12). +Установка параметра в значение on +(по умолчанию off) +активирует процесс “cache purger”, который +проходит по всем записям в кэше +и удаляет записи, соответствующие этой маске. + + + +purger_files=число + + +Задаёт число элементов, которые будут сканироваться за одну итерацию (1.7.12). +По умолчанию purger_files равен 10. + + + +purger_threshold=время + + +Задаёт продолжительность одной итерации (1.7.12). +По умолчанию purger_threshold равен 50 миллисекундам. + + + +purger_sleep=время + + +Задаёт паузу между итерациями (1.7.12). +По умолчанию purger_sleep равен 50 миллисекундам. + + + + + @@ -415,6 +469,10 @@ запроса на очистку заканчивается звёздочкой (“*”), то все записи в кэше, соответствующие этой маске, будут удалены из кэша. +Тем не менее, эти записи будут оставаться на диске или до момента удаления +из-за отсутствия обращения к данным, +или до обработки их процессом “cache purger” (1.7.12), +или до попытки клиента получить к ним доступ.