DEV Community

Discussion on: I made my website 28ms faster with content-visibility 🤓

 
marcellothearcane profile image
marcellothearcane • Edited

The images are meant to have height attributes, so it knows what size it is before it actually loads it. In theory.

There must be a point when too much JS outweighs the benefits that it is meant to add. Ah well, it's not too bad and it's faster than the old site!

Thread Thread
 
dailydevtips1 profile image
Chris Bongers

Yeah, it's always a mix of using too much JS for "simple" things and having a fast website.
Pretty hard to find a silver lining in there.