in static/js/tracker.js [2460:2516]
m = function () {
var e,
n,
t,
r,
i = o.a.getConfig('plugin_perf_resourceTimingSampling') || 0.01;
if (
!(Math.random() >= i) &&
'function' == typeof window.fetch &&
null !== (e = window) &&
void 0 !== e &&
null !== (n = e.performance) &&
void 0 !== n &&
n.getEntries &&
null !== (t = window) &&
void 0 !== t &&
null !== (r = t.performance) &&
void 0 !== r &&
r.getEntriesByType
) {
var u =
o.a.getConfig('plugin_perf_resourceTimingThreshhold') || 8e3,
a =
performance.getEntriesByType('navigation')[0] ||
window.performance.timing;
if (a) if (a.loadEventStart - a.fetchStart < u) return;
var s = performance.getEntries();
if (s && 0 !== s.length)
try {
var f = o.a.getConfig('pv_id'),
l = o.a.getConfig('pid'),
p = {
__topic__: 'resourcetiming',
__logs__: [
{
pid: l,
name: f,
resource: encodeURIComponent(c()(s.slice(0, 200))),
},
],
};
if (!l || !f) return;
fetch(
'https://aes.cn-wulanchabu.log.aliyuncs.com/logstores/aes-resourcetiming/track',
{
method: 'POST',
body: c()(p),
headers: {
'Content-Type': 'application/json',
'x-log-apiversion': '0.6.0',
'x-log-bodyrawsize': '1234',
},
}
);
} catch (e) {}
}
},