| News - it-stuff |
| Written by mangthjik riche |
| Monday, 19 July 2010 11:34 |

Optimize your webpage speed is now is important factor of SEO To make your webpage load faster one if the factor is leverage browser caching. Use one if this cache method to optimize your webpage and increase the score if google speed test result And Add the following code : # For Caching 1 YEAR item <Files Match "\.(ico|pdf|flv)$"> Header set Cache-Control "max-age=29030400, public" </FilesMatch> # For Caching 1 YEAR item <FilesMatch "\.(jpg|jpeg|png|gif|swf)$"> Header set Cache-Control "max-age=29030400, public" </FilesMatch> # For Caching 2 Month item <FilesMatch "\.(xml|txt|css|js)$"> Header set Cache-Control "max-age=4838400, proxy-revalidate" </FilesMatch> # For Caching 1 MIN item <FilesMatch "\.(html|htm|php)$"> Header set Cache-Control "max-age=60, private, proxy-revalidate" </FilesMatch>
save and upload to root of your website
|