# compress content with type html, text, and css AddOutputFilterByType DEFLATE text/css text/javascript application/x-javascript text/js # properly handle requests coming from behind proxies Header append Vary User-Agent ExpiresActive On ExpiresByType text/css "access plus 10 years" ExpiresByType text/js "access plus 10 years" ExpiresByType text/javascript "access plus 10 years" ExpiresByType application/x-javascript "access plus 10 years" ExpiresByType image/png "access plus 10 years" ExpiresByType image/gif "access plus 10 years" ExpiresByType image/jpeg "access plus 10 years" FileETag none