Dmacleo Posted June 11, 2013 Share 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. Link to comment Share on other sites More sharing options...
Luis Manson Posted June 14, 2013 Share 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 Link to comment Share on other sites More sharing options...
Dmacleo Posted June 14, 2013 Author Share Posted June 14, 2013 I'll check that out thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.