Regular checkup - Deepstash
Regular checkup

Regular checkup

You can measure DOM size and depth on your site using a tool like Lighthouse or PageSpeed Insights . If you want to quickly check how many elements you have on the page at any given time, you can run this on your browser’s console:

The main thing is to periodically check your DOM size and depth . I know this sounds obvious, but since we typically work with UI components or template partials that only expose us to a bit of HTML at a time, it’s easy to forget about how these bits of markup add up.

5

6 reads

CURATED FROM

IDEAS CURATED BY

traa

Director of Engineering @ Edgio. Love games, tech and people. In this order.

How the DOM tree size is actually affects your page load speed

Similar ideas to Regular checkup

THE CODE PLAYER

THE CODE PLAYER

A simple and effective website for learning how to code and building your existing skills. There are tons of videos and demos to walk you through the process of learning how to code from scratch. All you need to do is click on one of the things you want to learn how to do, like creating a simple ...

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates