You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Henri Gomez <hg...@apache.org> on 2002/11/08 17:49:21 UTC
[PATCH] mod_deflate extensions
Some questions about mod_deflate :
1) Why this module is not enabled by default built ?
compression should be on to meet HTTP recommandations ?
2) What about a more advanced system ?
Currently :
SetEnv gzip-only-text/html 1
-> make mod_deflate compress only text/html.
Extension :
SetEnv gzip-mime-xxxx/yyyy allow
-> make mod_deflate compress content matching xxxx/yyyy.
SetEnv gzip-mime-xxxx/yyyy deny
-> make mod_deflate don't compress content matching xxxx/yyyy.
SetEnv gzip-file-jsp allow
-> make mod_deflate compress content caming from jsp
SetEnv gzip-file-js deny
-> make mod_deflate don't compress content caming for javascript
<Directory "/your-server-root/manual">
SetEnv gzip-mime-text/html allow
SetEnv gzip-mime-text/xml allow
SetEnv gzip-mime-text/plain allow
SetEnv gzip-mime-default deny
SetEnv gzip-file-jsp allow
SetEnv gzip-file-js deny
SetEnv gzip-file-default deny
SetOutputFilter DEFLATE
</Directory>
Attached is a patch ...
Thanks for your feedback
Re: [PATCH] mod_deflate extensions
Posted by Jeff Trawick <tr...@attglobal.net>.
Henri Gomez <hg...@apache.org> writes:
> Some questions about mod_deflate :
>
> 1) Why this module is not enabled by default built ?
> compression should be on to meet HTTP recommandations ?
asking for trouble w.r.t. the build unless we package the zlib code
ourselves and built it ourself in some consistent way
--enable-deflate=shared simply does not work across a large number of
systems
--
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...