Fix: Altes Hundeprofil-Foto wird beim Überschreiben gelöscht (SW by-v930)

- dogs.py /photo: alte foto_url vor Upload merken, nach Speichern von Disk löschen
- dog-profile.js: Hintergrund-Cache nach Foto-Wechsel invalidieren
This commit is contained in:
rene 2026-05-14 11:47:08 +02:00
parent 3585958c47
commit 567478a866
5 changed files with 19 additions and 5 deletions

View file

@ -3,7 +3,7 @@
Offline-Cache + Push Notifications + Tile-Cache
============================================================ */
const CACHE_VERSION = 'by-v929';
const CACHE_VERSION = 'by-v930';
const CACHE_STATIC = `${CACHE_VERSION}-static`;
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache