HOW TO IMPROVE THE SPEED (LOADING TIME) OF YOUR WEBSITE/BLOG
Hey there, I do receive tonne of question on a daily basis about how one can speed up his or her website. So today, I decide to write a post about it. Why is it important, what slow a website, how to fix them …. those are the things we are going to discuss about in this article.
TABLE OF CONTENT
There are many sites that will help get insight of your website performance for free. I personally use
Probably I will write a complete post on the importance of a website’s speed, meanwhile let us see one or two reasons why we need to take the performance of our website very seriously.
- first impression: First impression is very important in the sense that your visitors, readers or customers make an instant judgment about your site. For instance, if your website loads fast, you have made a good impression on them. What will be your impression if after entering a site url and the site is taking 10seconds or more to load?
- Effect on your Google Rank: In case you are not aware, if your website is slow, you will probably be penalize by Google. It means, instead of Google to rank you higher, your site will be pushed down in the search result which is not a good news because your competitors will be put ahead of you.
- Cost: “Slow Websites Cost $25 Billion in Lost Sales! … This includes more than $21 billion per year lost when users abandon a website because of excessive delays in web page downloads.” according to Zona Research.
There are numerous factors that contribute to the slowness of your website. Let’s take them one after the other.
Server performance: When a visitor clicks or enters your URL in a browser (chrome, firefox, opera …) The browser sends a request to your server asking of Data that will be displayed and that is what we see when we are on a website. If your server performance is poor, it will take longer to respond. Now, how do we test our server performance? There are different sites on the net offering this service for free.
with this site, you can test your server respond time. just enter your address and hit the search button.
- Google This site also allows you test your server performance for free. Enter your url and hit “analyse”. Next check your server respond time.
Your server location: Another thing that can increase your website loading time is your server location. If your website is hosted on a server in USA, your users that are in Japan, china, Australia … will probably experience slow loading of your website. But there is a solution for that.
Traffic: By traffic I mean your visitors. The more visits you receive the more your website slow down. If you go to a restaurant and you are the only one, you will probably be server on time compare to when you are ten. Same thing with our server. It is the only source of all visitors’ requests.
Too many plugins: Remember the more you have plugins on your site, the more the requests increase which will slow down your website.
File size: If you’re having large files on your site such as images, pdf, docs … they will impact negatively your website in term of loading.
Redirected: It will take more time for your server to load “redirect” links. It’s like handling double request. For example if you have shorten a link with bitly and a user wants to access that page, the browser will first send a request to your server and your server in turn needs to send another request to bitly and both your server and bitly server need to respond before that page will be displayed. Likewise for affiliate plugins that shorten url.
Poor coding: Using a poor theme or plugin in term of code can slow down your website.
- Minimize HTTP request: Try to minimize the http request of your website by using few plugins and a good theme. Use only important plugins. Disable all plugins and activate the most important ones first then test your site performance at www.gtmetrix.com and see the number of request made by your browser.
- Good hosting: Use a good hosting service provider. I recommend DomainKing or Hosgator. Also make use of a CDN. You can use Maxcdn or cloudfare. They are really good.
- Enable Compression: Probably you know the importance of Zipping a file. It allows you to reduce its size. Same thing with a page. When a browser sends requests to your server, it will take more time to download the page if your pages are not compressed. There are some caching plugins that can help you compress your pages such as w3 total cache or wp super cache. Below is a screenshot of wp performance score booster setting.
- Enable browser caching: When enable, your visitors browser will download some file and store them on their hard drive in a cache so when next they visit your website, their browser can load the page without having to send another request.
- Minify your css or js file:In order to minify your css and js files, please visit www.minifier.org copy and past the css or js file URL into the field, next click on “minify”, a file will be generated for you. Copy and replace the original file. Before you minify your files, please make sure you backup your files. The site makes your website smaller and faster to load by minifying the JS and CSS code. This minifier removes whitespace, strips comments, combines files, and optimizes/shortens a few common programming patterns.
- Optimize Images: If you have not yet optimized your images, please do. It helps your site to load faster. I recommend you use a plugin called Wp Smush by WPMU. It works great and I recommend you use it on your site.|
- Use a content delivery network (CDN): No doubt CDN helps you fix server location issue. I recommend you use MaxCDN or Cloudfare.
After working on my website (www.albblog.com), the site was loading at 1.2 seconds according to pigdom (click here to see the report) and the fully loaded time was 4 seconds according to Gtmetrix (click here to see the report). If you want us to work on your site, please don’t hesitate to contact us. Below is the screenshot a the report of 20/11/2017. As you can see the loading time is 1.32 s and the request was 154 and the page size is 2MB. After working on the site once more the performance has improved. (check the second screenshot).
That will be all for today’s tutorial, if you did enjoy it, please share with your friends by making use of the social share buttons. Don’t forget to subscribe to receive updates from us. (it’s free)