Why my Website is Slow?

(And How to Fix Them)

Credits: https://www.carnegiedartlet.com/

A study titled “Why web performance matters: is your site driving customers away?” by Gomez, revealed that an online visitor expects a webpage to load in two seconds or less — and after three to five seconds, as many as 40 % of them abandon a site.

Optimizing your website’s speed is clearly a necessity, but figuring out how to do it can be tricky.

These days, users expect websites to be fast. When pages take longer than expected to load, it negatively impacts your site’s User Experience (UX).

In this post, I’ll explain why site speed is so vital to your website. Even fractions of a second count, so optimizing your site’s performance as fully as you can is crucial. What’s more, website speed not only influences whether users stay on your site and convert; it also affects whether or not they can find it in the first place.

Time is everything. Speed is of the essence.

Let’s see some of the reasons that make your website load slowly and their solutions:-

Photo by Hal Gatewood on Unsplash

1.Heavy Image size.

2.Bad server configuration.

3.More use of JS and CSS files.

4.Extra themes, plugins, and comments.

5.Excessive usage of social media scripts.

6.Missing files

So let’s discuss these ones by one…including how to fix these issues…

  1. If you are using un-optimized images, they use a lot of server resources being heavier, and thus your site takes a long time to load. But don’t worry, you can reduce the size of your image without losing its pixel quality by making the use of tools like WP Smush and EWWW Image Optimizer (for WordPress users). If your image size is approx. 100 KB, then it will quickly open. It’s good if you use “CSS based icons” instead of images, as icons are generally smaller in size. The appropriate image resolution for a website is 72 dpi (dots per inch).

2. If you have a hosting plan in which features like compression and HTTP Keep-Alive are disabled by your vendor to run multiple sites on a single server, then it can be one of the main reasons for the reduced loading time of the website.

These features help you overcome the problem of slow loading. If you enable the Keep-Alive feature, then you can send and receive many HTTP requests with the same TCP connection. Hence, you will get improved performance as then there will be no need to open a new connection for each and every request.

3. If there are a lot of JavaScript and CSS files on your website, then your visitors’ systems are not able to treat these files individually. It leads to an increase in the number of requests that eventually slows your website. Thus, it’s good to minimize the use of JS and CSS files. You can try cssnano to minify CSS and Closure Compiler to minify JS. Hence, by using them, you can reduce page load time to a great extent.

4. If you are using WordPress, and your dashboard is overloaded with unwanted plugins, themes, and comments then, yes your website loads slowly. Removing these unutilized plugins, inactive themes, and those accumulated extra comments is a smart way to decrease the WordPress website page load time and boost WordPress performance optimization.

One more thing that’s essential is to clear unnecessary lines of code as heavy files like JS, CSS, and HTML already makes your server work harder. By removing these unwanted “commented codes” from the backend, you can easily make your website load faster.

5. If there are too many social media scripts on your website, then it can kill your website’s performance. Although those sharing options at the end of your every post allow your user to easily share your posts it’s not good to load all the sharing options at each and every single page (e.g. at the contact page) as they add a lot of load to your website.

6. Any missing file in the servers reduces the website speed.

Also, you can add a preloader to your website in case you want all the components to be there on the website.

Speed does not always kill. And not only that, sometimes speed saves a life.

It has been seen that websites that exceed average website load time or average page load time i.e. which take more than 2- 3 seconds to load are often not impressive for the site visitors and also affect search engine rankings too.

Here are a few examples of why speed matters :

  • Mozilla made its pages load 2.2 seconds faster. As a result, they saw 60 million more Firefox downloads per year.
  • Shopzilla also reduced its loading time by 2 seconds. This resulted in a 9.5% increase in revenue and a 25% increase in page views.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


“Technical content writer”