chore: Update README.md
This commit is contained in:
parent
ee5021d78d
commit
707985cd01
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
[](https://www.npmjs.com/package/@ayco/astro-sw)
|
[](https://www.npmjs.com/package/@ayco/astro-sw)
|
||||||
[](#library-size)
|
[](#library-size)
|
||||||
|
|
||||||
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 [invert the control](https://en.wikipedia.org/wiki/Inversion_of_control) (i.e., compared to generating the service worker script code), and 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/).
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue