Merge branch 'main' of github.com:ayoayco/astro-sw
This commit is contained in:
commit
0f2a41a838
1 changed files with 0 additions and 2 deletions
|
@ -6,8 +6,6 @@
|
||||||
|
|
||||||
The integration accepts path to your own authored [service worker](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) and automatically injects dynamic variables such as `__assets` generated by Astro for caching. The goal is to let devs retain the flexibility for various [caching strategies](https://developer.chrome.com/docs/workbox/caching-strategies-overview/).
|
The integration accepts path to your own authored [service worker](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) and automatically injects dynamic variables such as `__assets` generated by Astro for caching. The goal is to let devs retain the flexibility for various [caching strategies](https://developer.chrome.com/docs/workbox/caching-strategies-overview/).
|
||||||
|
|
||||||
Other integrations exist which will generate a service worker for you, but [there are good reasons](https://developer.chrome.com/docs/workbox/modules/workbox-build#when_not_to_use_generatesw) to avoid this.
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
In your [Astro](https://astro.build) project:
|
In your [Astro](https://astro.build) project:
|
||||||
|
|
Loading…
Reference in a new issue