Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
performance.clearResourceTimings for SPAs
(function(w){
if (!w || !w.performance) {
return;
}
var clearResourceTimings = performance.clearResourceTimings || performance.webkitClearResourceTimings;
if (clearResourceTimings) {
BOOMR.subscribe("onbeacon", clearResourceTimings);
}
})(window);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment