add
This commit is contained in:
1 parent
bea0fff388
commit
4ac51969e2
37 files changed
+1270
-166
No files matched your search
@@ -1,5 +1,5 @@
|
||||
/* ============================================================
|
||||
AT Transit — PWA registration + auto-update
|
||||
Atroute — PWA registration + auto-update
|
||||
ผู้ใช้ไม่ต้องล้างแคชเอง:
|
||||
1. register แบบ updateViaCache:"none" → ไม่เชื่อ HTTP cache ของ sw.js
|
||||
2. เรียก reg.update() ทุกครั้งที่โหลดหน้า → ตรวจ SW ใหม่ทันที
|
||||
|
||||
Reference in new issue
Block a user