prompt-1
Always bump the version when changing any JS/CSS: ?v=bankNN in index.html + app.js fetch URLs, v-bank-N in sw.js (VERSION) + app.js (CACHE_VERSION consts). Immutable caching otherwise pins stale files for a year. - Regenerate .gz twins: gzip -kf <changed file> — Caddy precompressed serves .gz preferentially over the live file. - Verify live after deploy: curl -s https://bank.promedic1.com/sw.js | grep v-bank-1 — must show the new version. - First offline use needs one complete online visit (~30s background load); after that the full 1545-drug set is persistent in IndexedDB. - IndexedDB TTL = 24h — app self-heals by full refetch after 24h without a visit. - One-reload transition quirk is expected after a version bump (inverted "Upgrading from/to" log, old app.js served once via ignoreSearch). Don't "fix" it; it resolves on next reload. - Keep umami requests un-intercepted — SW correctly skips cross-origin; the offline ERR_INTERNET_DISCONNECTED on umami.promedic1.com/api/send is expected and harmless. - Backup before edit on the server (done: /var/www/bank.promedic1.com/_backups/pwa-fix/). Skipped (add only when needed): background sync, update-availability toast, periodic SW revalidation. Update path when shipping frequent data changes: bump to bank13 everywhere + gzip -kf.NEGATIVES — apply to every frame and every image: no face features, no eyes, no eye circles, no pupils, no mask with eyes, no circles on the face, no eye-sockets, no eyebrows, no nose, no mouth, no lips, no teeth, no realistic human face, no face silhouette, and no facial shadows of any kind — no nose shadow, no eye-socket shadow, no lip shadow; every head stays a clean smooth blank solid-void featureless shape; no watermark, no signature, no garbled or distorted text, no extra fingers, no deformed hands, no mutated limbs, no blurry frames, no low resolution, no dull desaturated colors. QUALITY: ultra-detailed, maximum color saturation, razor-sharp legible on-screen text, high-definition 4K, professional cinematic lighting, clean stable frames.