(path)
| 32 | } |
| 33 | |
| 34 | function _cacheGet(path) { |
| 35 | try { |
| 36 | const raw = sessionStorage.getItem(_cacheKey(path)); |
| 37 | if (!raw) return undefined; |
| 38 | return JSON.parse(raw); |
| 39 | } catch (_) { |
| 40 | return undefined; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | function _cacheSet(path, entry) { |
| 45 | try { |