mod_deflate in .htaccess-File
5. März 2011 / apache2
×Info: This post is older than 2 years! Displayed information may be outdated!
Wer niemals root sein wird (sprich: keinen Zugriff auf die vhost-config hat), kann sich auch mit einer .htaccess-File glücklich machen:
<ifModule mod_deflate.c>
# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript
</ifModule>