AddOutputFilterByType text/html text/plain text/css text/javascript application/x-javascript application/xml application/xhtml+xml text/xml
apache1은 mod_gzip apache2는 mod_deflate
mod_expire는
debian 또는 ubuntu를 사용하기에 a2enmod를 이용해서 추가후 설정
ExpiresActive On
ExpiresByType image/jpg "access plus 1 day"
ExpiresByType image/gif "access plus 1 day"
ExpiresByType image/jpeg "access plus 1 day"
ExpiresByType image/png "access plus 1 day"
ExpiresByType text/css "access plus 1 day"
#ExpiresByType text/js "access plus 1 day"
#ExpiresByType text/javascript "access plus 1 day"
#ExpiresByType application/javascript "access plus 1 day"
#ExpiresByType application/x-javascript "access plus 1 day"
뭐 간단히 요런식으로... 심심하시면 header까서 확인까지...
참조 url : http://httpd.apache.org/docs/2.0/ko/mod/mod_deflate.html