Leverage Browser Caching On Your Blog? Kill Them!

Leverage browser caching on your wordpress blog?

Don’t worry..

Kill them drastically!

But How to?

Basically if you want to improve speed of your wordpress blog or other CMS platform like joomla and etc, you need to tweak several aspects to improve loading blog speed. One of many reason is leveraging browser caching on your wordpress site. So you need to create code to enable browser caching and put this in .htaccess file.

To enable leveraging browser caching, you can reduce the number of HTTP request on this server which require in process your page.

Also by enabling browser caching, can reduce page loading time by caching static element on wordpress blog like image, css, javascript files and etc.

Simply copy and paste this code below at the top in the .htacces file and save it to enabling browser caching.

[alert-note]## 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 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 2 days" 

## EXPIRES CACHING ##[/alert-note]