mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Add note about cloudflare caching
This commit is contained in:
parent
8f2d726f5c
commit
aca4529991
1 changed files with 3 additions and 0 deletions
|
|
@ -19,6 +19,9 @@ const config = merge(common, {
|
|||
sourceMap: true
|
||||
}),
|
||||
new workboxPlugin.GenerateSW({
|
||||
// Note: CloudFlare is configued to not cache this file, as suggested in the:
|
||||
// "Avoid changing the URL of your service worker script" sectio of:
|
||||
// https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle
|
||||
swDest: "service-worker.js",
|
||||
clientsClaim: true,
|
||||
skipWaiting: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue