Mercurial > hg > nginx-site
view xml/en/docs/http/ngx_http_gunzip_module.xml @ 710:5da520cae945
Bumped document revision forgotten in r684.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 05 Oct 2012 04:37:53 +0000 |
parents | 6d6aa03e43fa |
children | ac709e45740d |
line wrap: on
line source
<?xml version="1.0"?> <!-- Copyright (C) Maxim Dounin Copyright (C) Nginx, Inc. --> <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> <module name="Module ngx_http_gunzip_module" link="/en/docs/http/ngx_http_gunzip_module.html" lang="en" rev="1"> <section id="summary"> <para> The <literal>ngx_http_gunzip_module</literal> module is a filter that decompresses responses returned with the “<literal>Content-Encoding: gzip</literal>” 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. </para> <para> This module is not built by default, it should be enabled with the <literal>--with-http_gunzip_module</literal> configuration parameter. </para> </section> <section id="example" name="Example Configuration"> <para> <example> location /storage/ { gunzip on; ... } </example> </para> </section> <section id="directives" name="Directives"> <directive name="gunzip"> <syntax><literal>on</literal> | <literal>off</literal></syntax> <default>off</default> <context>http</context> <context>server</context> <context>location</context> <para> Enables or disables decompression of gzipped responses. </para> </directive> <directive name="gunzip_buffers"> <syntax><value>number</value> <value>size</value></syntax> <default>32 4k|16 8k</default> <context>http</context> <context>server</context> <context>location</context> <para> Specifies the number and size of buffers available for decompression. </para> </directive> </section> </module>