Skip to content

Updated LCP code snippets to start measuring from activation#49

Merged
nucliweb merged 1 commit into
nucliweb:mainfrom
kevinfarrugia:main
Mar 6, 2025
Merged

Updated LCP code snippets to start measuring from activation#49
nucliweb merged 1 commit into
nucliweb:mainfrom
kevinfarrugia:main

Conversation

@kevinfarrugia

Copy link
Copy Markdown
Contributor

The previous version worked for standard navigations, but did not take prerendered pages into consideration, which should be measured from the activation start time.

The relevant code updates were taken from the web-vitals library.

@vercel

vercel Bot commented Jan 2, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
webperf-snippets ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 6, 2025 6:06pm
webperf-snippets-u6am ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 6, 2025 6:06pm

@vercel

vercel Bot commented Jan 2, 2025

Copy link
Copy Markdown

@kevinfarrugia is attempting to deploy a commit to the nucliweb's projects Team on Vercel.

A member of the Team first needs to authorize it.

@nucliweb

nucliweb commented Mar 6, 2025

Copy link
Copy Markdown
Owner

Thank you @kevinfarrugia 🫶

nucliweb added a commit that referenced this pull request Feb 25, 2026
Updated LCP code snippets to start measuring from activation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants