# HG changeset patch # User Ruslan Ermilov # Date 1351003514 0 # Node ID ac709e45740d3686facf7a55cc3545318c7d3153 # Parent 7951fb38b4b340e4a90af32b07a6a83af59d6520 Revision of ngx_http_gunzip_module documentation. diff -r 7951fb38b4b3 -r ac709e45740d xml/en/docs/http/ngx_http_gunzip_module.xml --- a/xml/en/docs/http/ngx_http_gunzip_module.xml Tue Oct 23 13:05:11 2012 +0000 +++ b/xml/en/docs/http/ngx_http_gunzip_module.xml Tue Oct 23 14:45:14 2012 +0000 @@ -10,17 +10,16 @@ + rev="2">
The ngx_http_gunzip_module module is a filter that -decompresses responses returned with the -“Content-Encoding: gzip” for clients that don’t support it. -It may be useful if it is preferred to store the data compressed -(to save space or disk/network IO), but it is undesirable -to penalize clients without the gzip support. +decompresses responses with “Content-Encoding: gzip” +for clients that do not support “gzip” encoding method. +The module will be useful when it is desirable to store +data compressed, to save space and reduce I/O costs. @@ -56,7 +55,14 @@ location -Enables or disables decompression of gzipped responses. +Enables or disables decompression of gzipped responses +for clients that lack gzip support. +If enabled, the following directives are also taken into account +when determining if clients support gzip: +, +, and +. +See also the directive. @@ -70,7 +76,10 @@ location -Specifies the number and size of buffers available for decompression. +Sets the number and size of buffers +used to decompress a response. +By default, the buffer size is equal to one memory page. +This is either 4K or 8K, depending on a platform. diff -r 7951fb38b4b3 -r ac709e45740d xml/en/docs/http/ngx_http_gzip_module.xml --- a/xml/en/docs/http/ngx_http_gzip_module.xml Tue Oct 23 13:05:11 2012 +0000 +++ b/xml/en/docs/http/ngx_http_gzip_module.xml Tue Oct 23 14:45:14 2012 +0000 @@ -10,7 +10,7 @@ + rev="2">
@@ -261,8 +261,9 @@ Enables or disables emitting the
Vary: Accept-Encoding
response header field if the directives - or - +, +, or + are active.
diff -r 7951fb38b4b3 -r ac709e45740d xml/ru/docs/http/ngx_http_gunzip_module.xml --- a/xml/ru/docs/http/ngx_http_gunzip_module.xml Tue Oct 23 13:05:11 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_gunzip_module.xml Tue Oct 23 14:45:14 2012 +0000 @@ -10,18 +10,16 @@ + rev="2">
-Модуль ngx_http_gunzip_module это фильтр, распаковывающий -ответы, возвращаемые с “Content-Encoding: gzip”, -для тех клиентов, которые не поддерживают данный метод. -Это может быть полезно, если предпочтительно хранить данные сжатыми -(чтобы сэкономить пространство или дисковые/сетевые операции -ввода/вывода), но при этом нежелательно причинять неудобства клиентам, -которые не поддерживают сжатие методом gzip. +Модуль ngx_http_gunzip_module — это фильтр, +распаковывающий ответы с “Content-Encoding: gzip” +для тех клиентов, которые не поддерживают метод сжатия “gzip”. +Модуль будет полезен, когда данные желательно хранить сжатыми +для экономии места и сокращения затрат на ввод-вывод. @@ -57,8 +55,14 @@ location -Разрешает или запрещает распаковку ответов, сжатых методом -“gzip”. +Разрешает или запрещает распаковку ответов, сжатых методом gzip, +для тех клиентов, которые его не поддерживают. +Если разрешено, то для определения, поддерживает ли клиент gzip, +также учитываются следующие директивы: +, + и +. +См. также директиву . @@ -72,7 +76,10 @@ location -Задаёт число и размер буферов, доступных для распаковки. +Задаёт число и размер буферов, +в которые будет разжиматься ответ. +По умолчанию размер одного буфера равен размеру страницы. +В зависимости от платформы это или 4K, или 8K. diff -r 7951fb38b4b3 -r ac709e45740d xml/ru/docs/http/ngx_http_gzip_module.xml --- a/xml/ru/docs/http/ngx_http_gzip_module.xml Tue Oct 23 13:05:11 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_gzip_module.xml Tue Oct 23 14:45:14 2012 +0000 @@ -10,7 +10,7 @@ + rev="2">
@@ -260,10 +260,10 @@ Разрешает или запрещает выдавать в ответе поле заголовка -
Vary: Accept-Encoding
, если директивы - или - -активны. +
Vary: Accept-Encoding
, если активны директивы +, + или +.