DEV Community

Cover image for Best and Must - 3 Practices For Optimizing Your Website
ghana
ghana

Posted on

Best and Must - 3 Practices For Optimizing Your Website

Introduction

The speed of the website will directly depend on how longer the user is going to spend time on the website. So, For an E-Commerce website it directly increases revenue. Believe me or not, Speed of the website also builds trust no one wants to spend their time and money in straggling website.

There are and may be many ways to it but here we are going for the Best and Must ways.

1.Use Content Delivery Network (CDN)

A content distribution network is a set of web servers spread around different geographical areas, that deliver web content to end-users based on their location. Yeah this the formal definition, but in short as your website is hosted on CDN they will be delivered very fast.
If you ever used Gatsby.JS you might have known about static sites, when these static sites combined with CDN = 🔥 Super Fast Website. Many such websites or web apps feel like native apps.

Top 3 CDN's -

  • Cloudfare
  • Fastly
  • CloudFront

2.Optimize Images

All enjoy visually appealing images. As you know photos play a critical role in the popularity of E-commerce pages. So, using the required dimensions of the image is highly necessary.
On Page load you can use set of images to render on different screen sizes.
Read More About Responsive Images

3.Reduce the Number of Packages/Plugins

Plugins are essential components of every website. They have third-party-suggested features. So, The more plugins more code to run which eventually decreases the performance of the site and they need to be updated making sure site still works without breaking it. If not updated website may be vulnerable for attacks.

Conclusion

That is it for this blog, make sure your next website follows these Best and Must Rules.

peace ✌

Top comments (0)