How to enable Browser Caching on Godaddy Shared Hosting
AfterÂ GoogleÂ announcingÂ speed as the matter of page rank all are on the run to do better for there sites. Browser caching is one of the main thing. Browser caching is all about Â Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
I was so keen to enable Â Browser Caching on Godaddy Shared Hosting for techgurulive. I was actually checking for various options and found that we can do it by adding a few lines in the .htaccess file. you can just copy and paste the following code on your .htaccess file.
<FilesMatch "\.(jpg|jpeg|png|gif|css)$"> Header set Cache-Control â€œmax-age=3600, publicâ€ </FilesMatch>
when you paste this code be make sure to delete double quote and put it again.