feat: versionedLocalStorage

This commit is contained in:
imperosol committed 2026-05-21 22:28:31 +02:00
1 parent 2228a3f961
commit 6cec2e74d0
5 files changed
+98 -32

No files matched your search

+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();