Return to Snippet

Revision: 34964
at October 31, 2010 06:31 by joaobarbosa


Initial Code
# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

# Or, compress certain file types by extension:
<Files *.woff>
SetOutputFilter DEFLATE
</Files>

Initial URL

                                

Initial Description

                                

Initial Title
Ativa compressão de arquivos ( utilizando gzip )

Initial Tags
htaccess, apache

Initial Language
Apache