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

Add flag to show whether intrasite navigation #396

Open
tunetheweb opened this issue Oct 18, 2023 · 1 comment
Open

Add flag to show whether intrasite navigation #396

tunetheweb opened this issue Oct 18, 2023 · 1 comment

Comments

@tunetheweb
Copy link
Member

tunetheweb commented Oct 18, 2023

If the page is an intra-site navigation, then it likely has different performance characteristics to a cross site navigation which may have a higher TTFB and/or less objects cached.

This could be measured with new URL(document.referrer).origin === new URL(performance.getEntriesByType("navigation")[0].name;)

Where should this be exposed? In the TTFB attribution model?
Or as general additions to the Metric object so available for all metrics?

@tunetheweb
Copy link
Member Author

Agreed to put in TTFB attribution model.

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

No branches or pull requests

1 participant