Mastodon Feed: Post

Mastodon Feed

slightlyoff@toot.cafe ("Alex Russell") wrote:

But seriously, a 20% win for a one-line change? Incredible.

The "fix" (in addition to faster selectors and font fallback ordering) was to make footnotes *also* c-v deferred. Because a lot of my content is in footnotes (below the fold), this has a massive effect, cutting style and layout costs in ~half for first load.

https://developer.mozilla.org/en-US/docs/Web/CSS/content-visibility

https://web.dev/articles/content-visibility

Attachments: