Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimization: Avoid an excessive DOM size #4180

Open
rfultz opened this issue Nov 5, 2020 · 0 comments
Open

Optimization: Avoid an excessive DOM size #4180

rfultz opened this issue Nov 5, 2020 · 0 comments

Comments

@rfultz
Copy link
Contributor

rfultz commented Nov 5, 2020

Background

Looking to optimize the site's performance and that of the homepage specifically, the Lighthouse tool in Chromium browsers has made some suggestions. Some of these will have repercussions throughout the app so we're going to make them their own tickets.

Recommendation: Avoid an excessive DOM size

A large DOM will increase memory usage, cause longer style calculations, and produce costly layout reflows. details

Overview

We could change our document structure/appearance to speed initial page draw

Benefit (the 80 of 80/20)

Minimal? Lighthouse flagged it because we have 1,534 elements, but they flag anything over 1,500.

Effort (the 20 of 80/20)

Moderate to Significant

Complications

  • With remediations like hiding DOM elements or removing them until needed, we could hurt accessibility

Related tickets

This was referenced Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant