diff --git a/kjvstudy_org/server.py b/kjvstudy_org/server.py index 9424844..9ea3ebf 100644 --- a/kjvstudy_org/server.py +++ b/kjvstudy_org/server.py @@ -228,7 +228,12 @@ async def service_worker(): return FileResponse( sw_path, media_type="application/javascript", - headers={"Service-Worker-Allowed": "/"} + headers={ + "Service-Worker-Allowed": "/", + "Cache-Control": "no-cache, no-store, must-revalidate", + "Pragma": "no-cache", + "Expires": "0" + } ) app.mount("/static", StaticFiles(directory=str(static_dir)), name="static") diff --git a/kjvstudy_org/templates/offline.html b/kjvstudy_org/templates/offline.html index 55a96b9..d028f49 100644 --- a/kjvstudy_org/templates/offline.html +++ b/kjvstudy_org/templates/offline.html @@ -320,7 +320,19 @@ border-top: 1px solid var(--border-color); } -/* Technical Details */ +/* Technical Status Section */ +.tech-section { + margin-bottom: 3rem; +} + +.tech-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); + gap: 1rem; + margin-bottom: 2rem; +} + +/* Technical Details (collapsed) */ .tech-details { margin-bottom: 3rem; } @@ -349,13 +361,6 @@ content: '- '; } -.tech-grid { - display: grid; - grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); - gap: 1rem; - margin-bottom: 2rem; -} - .tech-item { padding: 1rem; border: 1px solid var(--border-color); @@ -514,6 +519,37 @@
Access the scriptures anywhere, anytime. Download all ~48,000 pages including every chapter, verse commentary, interlinear text, Bible stories, and study resources for complete offline access.
+ +Scanning cache...
-Scanning cache...