Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Search Engine Optimization (http://siteownersforums.com/forumdisplay.php?f=16)
-   -   Tips on Leverage Browser Caching in Onpage (http://siteownersforums.com/showthread.php?t=151516)

aadarshweb 01-23-2015 09:49 AM

Tips on Leverage Browser Caching in Onpage
 
Browser cache means, static resources of a webpage can store in browser so when a user re visit the page, these files will load from local server. Don’t have to get it from server, so the overall speed will increase. It can enable by some plugins in content management system based websites. Also you can do it manually by editing the root configuration file and pasting a code to it.

## EXPIRES CACHING ##

ExpiresActive On
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType text/css “access 1 month”
ExpiresByType text/html “access 1 month”
ExpiresByType application/pdf “access 1 month”
ExpiresByType text/x-javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresDefault “access 1 month”

## EXPIRES CACHING ##

After enabling browser cache, you may not able to view your updates on front end. It is just because your browser load from cache. To solve this you can clear browser cache after each update. :bustingup

skjaat 01-24-2015 01:40 AM

many plugin avialable for it so use them and leverage browser cachinng.


All times are GMT -7. The time now is 01:23 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.