Set tracker’s fetch call priority to low
Analytic is important activity but not as important as main business logic. Setting low priority doesn't mean the fetch call will be more likely to be discarded etc. it's just a hint to the browser.
This commit is contained in:
1 parent
eca6b069f6
commit
e85ef4a9c5
1 file changed
+1
@@ -166,6 +166,7 @@
|
||||
...(typeof cache !== 'undefined' && { 'x-umami-cache': cache }),
|
||||
},
|
||||
credentials: 'omit',
|
||||
priority: 'low',
|
||||
});
|
||||
|
||||
const data = await res.json();
|
||||
|
||||
Reference in new issue
Block a user