Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

How Can I precache and route custom folder, or public folder for example? #36

Closed
robthepaper opened this issue Sep 5, 2022 · 2 comments

Comments

@robthepaper
Copy link

Hi,
when online, cached assets or assets in public folder are available
but when offline it's not anymore.
How can I tell the sw.js to precacheAndRoute specific files/folder?

@robthepaper
Copy link
Author

or maybe use another custom sw.js template instead of templates/workbox/sw.js?

@kevinmarrec
Copy link
Owner

@robotpapier I'm gonna add the possibility to use custom workbox template :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants