-
Notifications
You must be signed in to change notification settings - Fork 29
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
Are WebVitals results cached? #234
Comments
You are right about it. It shouldn't be cached. One thing we noticed before is that when you load a page for the firs time, you get webVitals and correct path but when you navigate the route path doesn't change. Can you give useReportWebVitals() a try, with perhaps logging to console and see if you face the same issue? |
@brunolm Hello! This should be resolved now in What was happening was: When you go from path to path on By stabilizing the path reference, metrics should only be sent when they are being measured (First page load or hard navigation) |
I have in my
app/layout.tsx
fileThis seems to work, I can see on my dashboard I have results like:
However, what I'm seeing is that is I navigate to this page multiple times or refresh this page, this number never changes
Isn't it supposed to probably be different each request?
Am I going wrong about it? I want to build a dashboard with information that gives me insights about the application performance. What'd be the best way to go about it?
The text was updated successfully, but these errors were encountered: