GoogleChrome / workbox

📦 Workbox: JavaScript libraries for Progressive Web Apps

Home Page:https://developers.google.com/web/tools/workbox/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I cannot see the workbox pre-cached database in the Safari browser

Pulset opened this issue · comments

Welcome! Please use this template for reporting bugs or requesting features. For questions about using Workbox, the best place to ask is Stack Overflow, tagged with [workbox]: https://stackoverflow.com/questions/ask?tags=workbox

Library Affected:
"workbox-precaching": "^7.0.0",
"workbox-webpack-plugin": "^7.0.0",
Browser & Platform:
safari 16.5 (18615.2.9.11.4)
Issue or Feature Request Description:
In the Safari browser, I cannot find the pre-cached database data for Workbox, I can only see the runtime database. However, in the Chrome browser, I can see both. How can I determine if pre-caching has taken effect in the Safari browser?
chrome:
iShot_2024-04-01_19 18 41
safari:
iShot_2024-04-01_19 19 53

Safari has no Cache storage inspector. You can check by pasting the caches.keys().then(keys => console.log(keys)) into the console.

Screenshot 2024-04-25 at 11 12 05