http cache control

Apache2

sudo a2enmod expires
sudo a2enmod headers

 

.htaccess

<filesMatch ".(ico|pdf|flv|jpg|svg|jpeg|png|gif|js|css|swf)$">
Header set Cache-Control "max-age=604800, public"
</filesMatch>