Articles

7 Simple Ways to Fix a Slow Loading Website

Don’t you just hate it when the website you want to visit takes forever to load? And no, this isn’t because of your Internet. It’s really because the website has content that may be poorly optimized. Improving a websites speed doesn’t take very long and can provide numerous other benefits such as Page Rank and a better user experience.

Here are 7 simple things you can do to Fix a Slow Loading Website.

7 Ways to Improve Website Speed

Make Sure Images are Optimized for Web

Over-sized images can be a major culprit, and that’s because your website may be full of images which are more than 10MB in size.

Rule of thumb for image size is they shouldn’t exceed 1MB.

You can save precious loading seconds by compressing them before uploading to your site.

You can do this by compressing your images using Photoshop (Save for Web option) and using PNG/JPEG/WebP as file format for better image compression.

If you don’t have Photoshop, you can use Gimp. Gimp is a free image tool that’s like Photoshop. It also has an export option to save in compressed formats.

Optimize Images for Web using GIMP

Avoid large background images or even videos in your page headers. These may look cool but can cause heavy load times especially if not optimized properly.

Make sure your images are scaled properly. The overall dimensions of the image shouldn’t exceed where the image is being placed on the website.

  • Use compressed formats such as: JPEG/PNG/WEBP
  • Under 1MB in size
  • Use properly scaled images
  • Avoid large image or video headers

Enable Caching

Enabling website caching especially on larger files can improve your website loading.

If you use a CMS such as WordPress, you can install cache plugins which will let you enable either site-wide caching or caching of specific site elements.

Set Cache Control and Expire

Use a CDN (content delivery network) to cache images, JavaScript and CSS. Cloudflare has a free plan that anyone can use to off load images and media. You can also modify your server to cache content on the client by setting up proper cache-control and expires headers.

  • Use a CDN
  • Setup client cache and expire times

Less Code is More

Sometimes your website’s source code may contain unnecessary elements which will increase loading times.

If you use a CMS such as WordPress there are plugins which can optimize the code for you.

Small Website Size

Depending on your coding knowledge, you can also manually edit the source code to make it more optimized.

Make sure to minify and compress CSS, JavaScript and html.

Remove any unused Fonts, JavaScript functions or CSS Styles.

We continually over-deliver for each client we work with

Our team of web design experts, SEO specialists, and IT consultants will create a solution to ensure your success.

Test your Website Speed

You can use Google’s PageSpeed Insights test to see how your website is doing.

Open your website in Google Chrome.

Then Press F12, check the console for any error messages and use the audits tab to run the PageSpeed test.

How to Find Website Redirects

If you click on the row, you can see the header info to see why there is a redirect.

One or two redirects are ok but if there are numerous redirects, try to eliminate as many as possible.


Check for DDoS Attack

If your site is already optimized and you find it is suddenly running slow, you might be under a DDoS attack.

You can check your server access logs to see if there are lots of unusual requests.

To mitigate against DDoS attacks, you can add a firewall that blocks specific requests or multiple requests from the same IP.

Another solution is if you have nginx, you can limit the number of requests per IP. Here is a great article that shows how to setup this up. Mitigate DDoS Attack using NGINX.

Use a DDoS mitigation service such as Cloudflare that offers DDoS protection. These services block bad requests especially when a DDoS attack is detected.


Check for Server Errors

Check server error logs for any errors that your website is generating and resolve these.

There may be requests to images and other resources that are not found.

You can check your server logs using your host control panel.

Chrome Dev Tools is also helpful here. Check the network tab for any status codes with 400s (not found errors). They will be highlighted in red.


Conclusion

A slow loading website can be caused by various factors such as images that are not optimized, not utilizing caching, and code errors to name a few. Google prefers fast-loading websites, which is major factor in page rankings. If you found this article helpful, please consider sharing it!

After trying all of the methods in this article and you still were not able to get your website to run as efficient as possible, please contact us and one of our experts will help you.

LET'S WORK TOGETHER

We offer a complimentary consultation—in person or via a phone call. Get in touch and let’s find out what we can accomplish together.

Share