Category: Page speed

My Blog. Full Stack Software Engineer. Ex-Growth Hacker.

html element root element

Document.documentElement: BiteSize JS and web performance

I was recently advised to use Document.documentElement when querying the DOM to get the html element. This came about because I was refactoring an old code base to swop JQuery for vanilla JS. Doing this I saw: $(‘html’) This is JQueries way of selecting the whole Html element. Since I am relatively new to javascript…
Read more

The future of google's AMP technology. Javascript off the main thread?

The Future of AMP : JavaScript which doesn’t block the main thread?

At ComparetheMarket.com we are constantly optimising the speed of our site. We were an early adaptor of Google’s AMP technology, sold on the mobile page speed win’s it promised. Due to how early we were in using this technology we have faced many challenges on the way. I wanted to look at if the future…
Read more