Easy Way to Make your WordPress Site Load Faster

Faster loading website is the key to make your blog or online business successful. Search engine, especially Google gives additional credit to the site that load faster than its competitor which load slower. Google wants their user to provide the best user experience possible as their number 1 philosophy “Focus on the user and all else will follow”.

Advertisement

This means that if your website is very slow to load your user will leave immediately, the research said that an average internet user can only wait up to 4 seconds before they leave your site if it doesn’t load.

The good news is WordPress has plenty of resources that will help you optimize your WordPress site and make it load faster. You can start by testing your website using either of this tools Google Pagespped, GTmetrix, Feed the Boot and Pingdom. Just enter the url of your website you want to test. When you test your site in the four testing tools I mention above, the results may differ with each other, but you have the idea what is the problem on your website.

This is my website look like in GTmetrix, if you want to make your site look like this keep reading.

Easy-Way-to-make-your-WordPress-Site-load-faster

You can follow the recommendation provided by these site speed testing tools to make your website load faster, but it is quite difficult to decide where to start, especially if you’re a newbie. To make it easy for you I will give simple tips and three plugins to use to make your WordPress site load faster.

I would like to remind you that your web hosting plays a big role in the performance or speed of the site, If you’re on a shared hosting you cannot expect to achieve fast loading site because you are sharing resources. Theme also a factor in website speed, a theme that are not properly coded can cause website to load slower and most of free themes are, so I would recommend using premium themes like Schema from MyThemeShop which already optimized for speed.

Remove Plugins that makes your WordPress site load slow

Plugins are one of the best feature of WordPress wherein you can easily add additional feature in your site without touching the code. You can add plugins that can make your site look better but, the disadvantage of having more plugins is it will affect the loading speed of your site.

To determine the plugin that will cause your site to load slower you can use this very helpful plugins created by Godaddy called P3 (Plugin Performance Profiler)  it’s free. This plugin creates a profile of your WordPress site’s plugins’ performance by measuring their impact on your site’s load time.

After you determine which plugins affects the performance of your site, you can uninstall or remove it if it not so important in your site.

Add Plugins that makes your WordPress site load faster

Now that you have removed all the plugins that causing your site to load slow, you can now add this two plugins that will make your site load faster.

  1. WP Super Cache – This plugin generates static html files from your dynamic WordPress blog. After an html file is generated your webserver will serve that file instead of processing the comparatively heavier and more expensive WordPress PHP scripts. You can also use W3 Total Cache, it does the same, but W3 Total Cache needs more configuration unlike WP Super Cache which is much like plug in play.
  2. Jetpack by WordPress.com Jetpack is a plugin created by Automattic (a company behind WordPress.com) to add powerful features previously only available to WordPress.com users. You must have a wordpress.com account to use this plugin, if you don’t have one, go ahead to WordPress.com and create, it’s free. This plugin contains several modules that you can activate but not all of them will benefit you, sometimes it may break your site or instead of loading faster it will do the opposite. The only module I like in Jetpack is the “Photon”, after you activate Jetpack and connect to WordPress.com go to settings and deactivate all the module by using bulk actions. Easy-Way-to-make-your-WordPress-Site-load-faster1After deactivating all the modules find “Photon” and activate it. Easy-Way-to-make-your-WordPress-Site-load-faster2What Jetpack photon does is take all the images attached to your website and host it in WordPress server for free, this will save you hosting bandwidth and help your site load faster. To make sure it is hosted in WordPress you can check the image attached by right clicking and selecting “Open Image in New Tab” you will see the image url start with “http://i1.wp.com/ or http://i2.wp.com/” which is the WordPress server.

Additional Tips that will make your WordPress site load faster

Add this two piece of code to your htaccess file and I’m sure you will love the result.

First is the Gzip Compression code, compressing HTML and CSS files with gzip typically saves around fifty to seventy percent of the file size. This means that it takes less time to load your pages, and less bandwidth is used overall. To enable Gzip compression just add this code to your htaccess file.

mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*

Second  is to leverage browser caching, static content of your site like your logo, CSS file and other resources that are not constantly change you can preload it to your user’s browser. What browser caching does is “remember” the resources that the browser has already loaded, so that if the user visit another page of your site the CSS, logo and other static resources does not need to load again because browser has them remembered, this will help to make your site load faster and also save bandwidth. To enable browser caching, just add this code to the top most part of your htaccess file.

## 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 ##

Ok, you can now test again your site using the testing tools I mention above and compare it to the result before when your site not optimize. But I am not yet done, I have one more tip that I know you will love, do you hear about CDN or content delivery network other call it content distribution network? This is a large distributed system of servers deployed in multiple data centers across the Internet. The goal of a CDN is to serve content to end-users with high availability and high performance.

If your site linked to a CDN your content will distributed to the CDN servers across the globe and when the user access your site the nearest CDN server will serve your content. The user’s proximity to servers impact on load time, the nearest the server the faster the site loads for them.

How to Link my website to CDN?

The good news is CloudFlare a company which provides a CDN and distributed domain name server offering free service, this means you can have your site linked to CDN for free. All you have to do is register a free account and add your website, I will make a separate post for this.

To notify for latest updates Follow us on Google+

Loading...