Why I removed JQuery

        

I have removed JQuery and all the scripts that depend on it from this site. The start of this came from looking into site performance for our company websites, checking best practices and using the awesome Chrome Audit tool.

For this site I noticed that it was really quite fast already, a time to interactive of 980ms is well below most sites on the internet, and this is somewhat helped by having it deployed on netlify’s CMS.

Then I started looking at what JavaScript is on the page, and I noticed - there is JQuery and a load of libraries and other scripts that I literally don’t care about. They added nothing particularly as most functionality I want is achieved either in native JavaScript or using CSS.

So I removed JQuery, all the extra bits that depended on it and the result is a Time to Interactive of 350ms. Much better.

comments powered by Disqus