Menu

Why LCP Was Noisy on GitLab Repository Pages (and What I Built Instead)
📰

Why LCP Was Noisy on GitLab Repository Pages (and What I Built Instead)

DEV Community: gitlab·Aditya Reddy·6 days ago
#EZbncMi9
#devtogitlab#devto#dev#js#file
Long article (588 words) — no AI summary yet.
Reading 0:00
15s threshold

I started poking around GitLab's frontend performance issues back on November 3, mostly because web performance is what I spend my day job thinking about anyway. Looked through epic &3284 first, which says around 52% of the JavaScript shipped on every GitLab page goes unused at first paint, and picked up a handful of small lazy-load fixes alongside something much messier in the repository view.

The early bundle fixes were mostly just hunting down stray imports. Like on the dependency firewall dashboard ( !267453 ), active_policies_table.vue was pulling getSecurityPolicyListUrl out of source_editor_security_policy_schema_ext.js , which meant a plain table page was dragging the Monaco editor in with it just to build one link. Moved that helper into security_policy_url_utility.js and pointed the dashboard and four security policy components at it.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.