Skip to content

💡 Prerendering support #2859

Open
Open
@cole

Description

@cole

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions