Speeding site load times with htaccess
Create an “.htaccess” file in the folder you want to be cached and add the following to it. # Cache files for a week. <IfModule mod_headers.c> <IfModule mod_expires.c> <FilesMatch “.(jpg|jpeg|png|gif|swf|css|js)$”> Header set Cache-Control “max-age=604800, public” </FilesMatch> </IfModule> </IfModule> This will have the effect of caching your site for a week. The number 604800 refers to the number of seconds in… continue reading ⇢