持久存储
持久存储 — navigator.storage.persist() 请求浏览器保护存储的数据
(IndexedDB、Cache API、Service Worker 缓存)免受自动清除。没有持久化的情况下,
浏览器可能在存储压力下清除站点数据。
浏览器与生态支持
Section titled “浏览器与生态支持”| Browser / Platform | Support | Since | Confidence | Source | Notes |
|---|---|---|---|---|---|
| Chrome (Desktop) | ✅ yes | 55 | high | ref | — |
| Chrome (Android) | ✅ yes | 55 | high | ref | — |
| Edge (Desktop) | ✅ yes | 79 | high | ref | — |
| Firefox (Desktop) | ✅ yes | 57 | high | ref | — |
| Firefox (Android) | ✅ yes | 57 | high | ref | — |
| Safari (macOS) | ✅ yes | 15.2 | high | ref | — |
| Safari (iOS) | ✅ yes | 15.2 | high | ref | — |
| Samsung Internet | ✅ yes | 6.0 | medium | ref | — |
← 返回兼容性浏览器。