Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Dmacleo Posted June 11, 2013 Posted June 11, 2013 I've honestly never dealt with setitng max expires and that stuff with htaccess and wondering how you guys handle it, due to some issues with directadmin and nginx (yeah I am still using a panel....) I had to slide back to apache. in my case I think setting the max expires/cahce stuff would be easier through htaccess vs global apache templates.
Luis Manson Posted June 14, 2013 Posted June 14, 2013 i used this: <IfModule mod_expires.c> ExpiresActive On ## VAR ## ExpiresDefault A300 ExpiresByType image/x-icon A360000 ExpiresByType image/gif A360000 ExpiresByType image/png A360000 ExpiresByType image/jpeg A360000 ExpiresByType text/css A360000 ExpiresByType application/x-javascript A360000 ExpiresByType application/javascript A360000 </IfModule> also check this: http://www.askapache.com/hacking/speed-site-caching-cache-control.html
Recommended Posts
Archived
This topic is now archived and is closed to further replies.