15 ways to increase website speed

increase-website-speed

Thinking speed websites does not affect your websites?
Think again!

And if you are tried of website speed/loading time slow, then yes this post is for you. In order to improve website speed, I will give you an important point. Look, everyone is not perfect in everything.

If you want to test website speed, we have published article on it. You can read it from here. We have discussed about gmetrix speed test and other services.

                                                    Test Website Speed

Effects of high load time:

A one-second delay in your website pages load time causes :

  • 10 -12 % page views loss
  • 15-20% decrease in visitor satisfaction
  • Decrease in Adsense revenue
  • 5-10% conversions loss

Few extra seconds will cause a huge impact on the performance of the website. People don’t like the website with a high load time. They will neglect your website due to the high loading time. So to increase website speed and performance, you must optimize your websites. High load time affects your website SEO and rankings so reducing load time is the main priority of any web developer.

If you own an e-commerce website then maintaining your website should be your main priority. Let’s discuss about the impacts of slow loading in your shopping fields. In a survey, it is found that more than 53% of mobile users leave the site due to poor performance. You can read the article here: Speed is a killer

  • More than 43% of people expect web pages to load in 2 seconds or less than it.
    0-2 seconds – Good
    2-7 seconds – Average
    Greater than 7 seconds    – Bad
  • 35 -45% people abandon web page with poor performance so they are unlikely to buy anything from that web pages
  • 1 seconds delay in your webpage reduce customer pleasure by 15%.

What to do to increase website speed?

We have discussed the main points about the effects of load time. Ok, now lets come to the main points to increase website speed and performance. Firstly, we need to found out what causing website loading slow. Let’s take look at what that considered good loading times. If you don’t know how to check the load time of the website then we will talk it in another article.

In this post, we will go over 15 ways to increase website speed and performance. Don’t worry if you find these numbers more. If you have already worked on the site performance, then some of the points can be already done by you. So, there is no point to be worried.

With this in the mind, let’s get started to increase website speed and performance.

1) Choose the right hosting option

Believe me or not but hosting plays a vital role in the web page performance. To increase website speed and performance, you must have good hosting. Many new site owners choose cheap hosting plans. Mainly you have 3 options for hosting.

  • Shared hosting
  • Dedicated Server
  • VPS hosting

Shared hosting is the cheaper option. This hosting would be good for low traffic websites. This hosting is the best good for a small website or blog that doesn’t require high bandwidth / has low traffics. Since shared hosting is not sufficient for sites with high traffic, high volume sites should look to VPS or dedicated hosting solutions instead.
Dedicated Server is ideal for those who are running business handling daily traffics in their sites.
VPS(Virtual Private Server) hosting refers to the partitioning of a physical server to the multiple ones. Since VPS hosting feature Operating system, it protects your sites from everyone. This hosting is suited for those people who have outgrown shared hosting.

Since you are a beginner, you should choose shared hosting as it is cheap. We have provided a list of best-hosting provider. Have a look at them.

  1. Bluehost – Recommended
  2. HostGator
  3. Dreamhost
  4. Digital Ocean
  5. Hostinger
  6. Siteground
  7. Reseller hosting
  8. Namecheap

The above list of hosting is the recommended one to increase website speed and performance.

2) Use lite theme

Theme also plays a vital role to increase website speed and performance. If you use WordPress then there are plenty of good freemium themes. You can find free themes on the internet but all free themes might not be optimized. So search for an optimized theme. To get better-optimized themes, you need to invest a little for theme.

3) Use a CDN

Beyond the server hosting your sites, you can use CDN to reduce load time. If your hosting data center is in some country(for eg Nepal ) and you have visitors from another country like UK, US, etc, then without CDN they would face more load time but using CDN, it holds cache and cookies in other severs of many countries. When people from another country visits your pages then they will visit your websites from the nearest server branch and the website will load faster.

There are plenty of CDN providers but my recommendation is Cloudflare. It provides free CDN and SSL to web developers so you don’t need to invest but if you want high CDN then you can buy their plans. You can also use KeyCDN. So use can services to increase website speed and performance.

4) Minify HTTP request

Minifying HTTP request reduces the load time of the websites. If you use google chrome then chrome dev tools can be the best option for you. Just right-click, inspect elements and click on Networks Tab. In the bottom left corner, you will see the total number of HTTP requests. Just check out unnecessary files and reduce the number of HTTP requests as reducing them helps in decreasing loading time. So to increase website speed, you must reduce the HTTP requests.

5) Minify and Combine HTML/CSS/JAVASCRIPT Files

So we have discussed about HTTP requests minifying. This can be done by minifying and combining Html/CSS/js files. There are many important files in your sites which does many requests to the visitors. So to reduce requests, you should minify your HTML/CSS/js files. This also reduced the file size of your web pages.

This is very important is you used web page builder templates. Although it makes it easier to make websites faster but sometimes it creates messy codes that need to be minified. Minimize the unnecessary format, whitespace, and codes.

If your site runs multiple CSS and javascript files then they must be combined. There are several plugins tools for initiation and combination. You can use WP-rocket(paid) plugins or Autoptimize(free) plugins . They both work fine. These two plugins are my recommendations. So minification helps us to increase website speed and performance.

increase-website-speed

6) Use Asynchronous/Deferred loading of CSS/JS Files

Once the minification of CSS and javascript files are completed, you can optimize them in a way they load on the websites. These scripts files can be loaded in two ways synchronous and asynchronous. If your website scripts load synchronously then all scripts will load at a time which increases the load time of the website. But asynchronously loads scripts while scrolling from top to bottom. So to increase website speed and performance Asynchronous is preferred among them. If you use wp rocket then, it has a feature of deferring scripts loads.
deferred-js-files

7) Optimize images

Unoptimized images can cause high load time because they can cause poor performance in your web pages. So optimizing your images must be your main priority. To optimize images, you might use photoshop. If you are using WordPress, then there are many plugins like Imagify, Smush, EWWW image optimizer, and so on. You can use any of them to increase website speed and performance.

8) Enable Compression

Smaller your files, faster will be the website. Compressing files is one of the easiest ways to reduce loads of times. Using GZIP as compression is an efficient way to compressed the files and increase website speed.

Gzip is the file format and software application that locates strings of the same/similar code, and replaces them temporarily to reduce files. You can enable gzip by waiting for these codes in .htaccess of FTP or you can use any plugins

<IfModule mod_deflate.c>
   <filesMatch "\.(js|css|woff|html|php)$">
      SetOutputFilter DEFLATE
   </filesMatch>
</IfModule>

9) Enable browser caching / Leverage Browser Caching

You have to cache your website to load your website faster. For this, you need to add this code in your .htaccess in File manager of Cpanel. This helps to reduce expire headers and leverage browser caching problems.

# BEGIN Expire headers

<ifModule mod_expires.c>
   ExpiresActive On
   ExpiresDefault "access plus 5 seconds"
   ExpiresByType image/x-icon "access plus 604800 seconds"
   ExpiresByType image/jpeg "access plus 604800 seconds"
   ExpiresByType image/png "access plus 604800 seconds"
   ExpiresByType image/gif "access plus 604800 seconds"
   ExpiresByType application/x-shockwave-flash "access plus 604800 seconds"
   ExpiresByType text/css "access plus 604800 seconds"
   ExpiresByType text/javascript "access plus 604800 seconds"
   ExpiresByType application/javascript "access plus 604800 seconds"
   ExpiresByType application/x-javascript "access plus 604800 seconds"
   ExpiresByType font/truetype "access plus 604800 seconds"
   ExpiresByType font/opentype "access plus 604800 seconds"
   ExpiresByType application/x-font-woff "access plus 604800 seconds"
   ExpiresByType image/svg+xml "access plus 604800 seconds"
   ExpiresByType application/vnd.ms-fontobject "access plus 604800 seconds"
   ExpiresByType text/html "access plus 600 seconds"
   ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>
# END Expire headers

10) Lazyloading

Lazyload also called asynchronous loading is helpful to increase website speed. Not all images load at a time when you enable the lazyload option. Lazyload option is available in many plugins. You can use lazyload plugins like Lazyload(free) or WP Rocket (paid). This plugin helps us to increase website speed and performance.

lazyload-wprocket

11) Reduce the number of plugins used

We all know that plugins helps us to improve our WordPress site but excessive uses of plugins may cause poor performance. So we need to reduce the excessive use of plugins. So if you think your plugins affect your site performance then check which plugin affects much and replace the plugins or use any custom code for that.

If you find any plugins which are not necessary then simply deactivate them and delete them. You must manually check which plugins affect the site performance.

12) Reduce External Scripts

As we know lower the HTTP request, faster the website load. There are many common third-party integration you may running as you are unaware of them. You can identify them by reopening the “Network” tab in chrome dev tools. Just see which external links has cause more HTTP request and if they aren’t important simply remove them. This also helps us to increase website speed and performance.

13) Reduce Redirects

Redirects are often necessary when we move or delete your pages or posts. Otherwise, it will affect your SEO so redirection is necessary. But having too many of them affects the site performance and create additional HTTP request. Additional requests negatively impact the speed, particularly on mobile devices. To minimize redirects WordPress htaccess, you must follow some ideas.

I will give you a guide on how to minimize redirects WordPress htaccess. Here are the few tips.

  • Run a site scan, then sort by the status code column to see all of the 301 redirections.

Your website URL might be redirected twice HTTP to https and non-www to www.So our goal is no more redirection than one, no matter what the input URL is. So to fix this problem, you have to add the following code in .htaccess. Adding redirects to your htaccess file will solve the problem of HTTP to https and www to non-www or non-www to www.

To redirects from www to non-www (eg: www.yourdomain.com to yourdomain.com) add the following code.

RewriteEngine On
​RewriteCond %{HTTP_HOST} ^www.yourdomain.com [NC]
​RewriteRule ^(.*)$ https://yourdomain.com/$1 [L,R=301]

To redirects from non-www to www, add the following code in htaccess.

RewriteEngine On
​RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
​RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [L,R=301]

14) Use of AMP

Is your web page optimizes for mobile? Use the official plugins like AMP or AMP for WP to optimize a webpage for mobile devices. Since AMP for WP has more options than the official amp pages, you can use them to increase website speed and performance.

If you use any specific theme like Newspaper by tagDiv, then they have the integration with amp. These tools enhance your websites to give a new definition of performance. You can get a higher rank in google search with the amp pages and quality content.

15) Specific Mobile theme for mobile devices

Mobile pages should be light and fast. Many themes have their mobile theme and you can use them. The specific mobile theme is far better than the responsive theme. Mobile theme is a lighter,performance-optimized templates and it only loads in mobile devices. So use mobile themes to increase website speed and performance in mobile devices.

Newspaper theme by tagDiv is one of the themes having complete features. You can try these plugins.

Conclusions

That its. You are done with the optimization. Now check your websites performance score at gtmetric.com. I am sure you are satisfied with the result you gain and you have increase website speed. If you stuck somewhere, then simply comment below.

Hey, wait!!
Don’t forget to share this article on your social networks. Thanks for reading.❤

LEAVE A REPLY

Please enter your comment!
Please enter your name here