Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
player
Commits
df829d16
Commit
df829d16
authored
May 13, 2022
by
David Trattnig
Browse files
ServiceWorker: Update version
parent
112575be
Pipeline
#1927
passed with stages
in 8 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/service-worker.js
View file @
df829d16
let
OFFLINE_URL
=
"
/offline.html
"
;
// Match your offline page URL
let
PRE_CACHE
=
"
pre-cache-v
1
"
;
// Manually update version or generate one server-site
let
PRE_CACHE
=
"
pre-cache-v
2
"
;
// Manually update version or generate one server-site
let
PRE_CACHE_URL
=
"
/pre-cache.json
"
// Match your pre-cache URL
let
RUNTIME_CACHE
=
"
runtime-cache
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment