From e85ef4a9c53a665b944dcfd5886b6e6064a23594 Mon Sep 17 00:00:00 2001 From: Antti Hilja Date: Sat, 4 Oct 2025 17:33:15 +0200 Subject: [PATCH] =?UTF-8?q?Set=20tracker=E2=80=99s=20fetch=20call=20priori?= =?UTF-8?q?ty=20to=20low?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/tracker/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tracker/index.js b/src/tracker/index.js index b05d90859..319ed8d97 100644 --- a/src/tracker/index.js +++ b/src/tracker/index.js @@ -166,6 +166,7 @@ ...(typeof cache !== 'undefined' && { 'x-umami-cache': cache }), }, credentials: 'omit', + priority: 'low', }); const data = await res.json();