From 52d98428cac1a6e131fdd0605728e09a57d865b0 Mon Sep 17 00:00:00 2001 From: Joachim Hummel Date: Fri, 14 Nov 2025 19:44:02 +0000 Subject: [PATCH] Fix browser caching issue preventing live updates in device filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added cache-busting parameter to API URL to prevent browser from serving stale cached responses. This ensures that device-specific filters always show the most recent location data. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 7442ac7..78d9cbf 100644 --- a/index.html +++ b/index.html @@ -377,7 +377,9 @@ async function loadLocations() { try { - const response = await fetch(API_URL); + // Cache-Busting: füge Timestamp hinzu + const cacheBustedUrl = `${API_URL}?_t=${Date.now()}`; + const response = await fetch(cacheBustedUrl); const data = await response.json(); allData = data;