mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
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:
parent
eca6b069f6
commit
e85ef4a9c5
1 changed files with 1 additions and 0 deletions
|
|
@ -166,6 +166,7 @@
|
|||
...(typeof cache !== 'undefined' && { 'x-umami-cache': cache }),
|
||||
},
|
||||
credentials: 'omit',
|
||||
priority: 'low',
|
||||
});
|
||||
|
||||
const data = await res.json();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue