feat: versionedLocalStorage

This commit is contained in:
imperosol
2026-05-19 12:29:18 +02:00
parent 2228a3f961
commit 6cec2e74d0
5 changed files with 98 additions and 32 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ import Alpine from "alpinejs";
import { polyfillCountryFlagEmojis } from "country-flag-emoji-polyfill";
import htmx from "htmx.org";
import { limitedChoices } from "#core:alpine/limited-choices";
import { cacheBuster } from "#core:core/localstorage";
import { expireOldStorage } from "#core:core/localstorage";
import { default as navbar } from "#core:core/navbar";
import {
type NotificationPlugin,
@@ -53,4 +53,4 @@ navbar();
/**
* Script that clears the cache when the cache version changes
*/
cacheBuster();
expireOldStorage();