httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Gomez <hgo...@apache.org>
Subject [PATCH] mod_deflate extensions
Date Fri, 08 Nov 2002 16:52:38 GMT
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


	




Mime
View raw message