Leverage Browser Caching in WordPress

Have you ever gone to Pingdom Tools and received a near zero score on “leveraging browser caching”? This is really an easy fix that you can implement on your own blog.

What is Browser Caching?

Every time a browser loads a webpage it has to download all the web files to properly display the page. This includes all the HTML, CSS, javascript and images.

Leveraging browser caching will help decrease your page load time. It stores some of the files locally in the user’s browser. Thus, the first visit nothing changes – same load speed, however when that user revisits your website, refreshes the page, or goes to a new page on your site, they already have some of the files they need locally – reducing page load tome.

The Great News? Decreased page load times.

Edit the .htaccess file

Find your .htaccess file in the root of your domain. By default, this file is a hidden but should show up in FTP. If you are using Coda or a similar text editor, click View –> Show Invisible Files.

Paste this in your .htaccess file:

Now, head over to Pingdom and check out your leverage browser caching score.

Internet Marketing Tips

Get organic, direct, referral, and social goodness delivered straight to your inbox.

Just add your email address above, and I'll be in touch soon.