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

💡 Prerendering support #2859

Open
cole opened this issue Jul 10, 2024 · 1 comment
Open

💡 Prerendering support #2859

cole opened this issue Jul 10, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cole
Copy link

cole commented Jul 10, 2024

When implementing the Speculation Rules API and prerendering a page, Datadog RUM timings for the page (specifically LCP and FCP) are from when the prerender started on the referring page, rather than activation.

This means prerendering causes an increase in timings that doesn't reflect the user experience, which is improved (sometimes dramatically) by prerendering.

Note that the web-vitals library handles prerenders by timing from activation start, as implemented in this changeset.

@cole cole added the enhancement New feature or request label Jul 10, 2024
@thomas-lebeau
Copy link
Collaborator

Hi @cole,
Thank you for pointing out this issue with the Speculatation Rules API. We're planning to look into this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants