SetOutputFilter DEFLATE
# 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
<IfModule mod_expires.c>
# Turn on the Expires engine
ExpiresActive Off
# Expires after a month client accesses the file
ExpiresByType image/jpeg A3600
ExpiresByType image/gif A3600
ExpiresByType image/png A3600
ExpiresByType image/x-icon A3600
ExpiresByType text/plain A3600
# Good for one week
ExpiresByType application/x-javascript A120
ExpiresByType application/javascript A120
ExpiresByType text/x-javascript A120
ExpiresByType text/javascript A120
ExpiresByType text/css A120
ExpiresByType text/html A120
</IfModule>