-
Notifications
You must be signed in to change notification settings - Fork 427
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
Negative TTFB on Firefox #137
Comments
What version of the library are you using? As you might have seen from the Firefox bug you linked to, I commented in that thread that I fixed this issue in |
Same team here as the above questioner -- can confirm we are and have been on |
Update: I was looking at the data from a few sites I maintain, and I noticed the negative values as well. It looks like the issue is not the above performance timing bug, but instead a bug with Navigation Timings (as all Firefox versions with negative TTFB I checked support the newer Navigation Timing API).
(Note: the total results for Firefox in this query was 3155, which means the negative results represent 0.63%) I'll file a bug about this with Firefox. |
Appreciate this. For our part, we're filtering out the negative values for the time being. |
Yes, I think it probably does make sense to just not report if the value is negative. I think I'll add that logic to the library itself. |
@nicjansma wrote a great blog post about Navigation Timing in Practice several years back. It might be a bit out of date, but there's some useful context in there including a list of browser bugs (at the time) such as +1 for adding to the library. His suggestion was:
|
I'm seeing instances of negative values of getTTFB(), exclusively on Firefox, despite the docs claiming that Firefox is a supported browser.
Seems related to this issue.
If it helps, I found that these Navigation Timing attributes are also negative in these cases.
The text was updated successfully, but these errors were encountered: