You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a recommendation for browsers on how to clear the resource timing entries buffer when it is full? On Chrome and Safari (latest), I see they just drop the new entries when it is full. Wouldn't a circular buffer be more useful?
The text was updated successfully, but these errors were encountered:
You can call clearResourceTimings() and/or setResourceTimingBufferSize(). Having a circular buffer would still make you lose the earlier entries unless you already read them.
Yeah, thank you.
But does the spec define anything about dealing with situation when buffer is full? Is it safe to assume that all major browsers (tracked by caniuse for example), throw away events once the buffer is full like Chrome and Safari (latest)?
Is there a recommendation for browsers on how to clear the resource timing entries buffer when it is full? On Chrome and Safari (latest), I see they just drop the new entries when it is full. Wouldn't a circular buffer be more useful?
The text was updated successfully, but these errors were encountered: