Skip to content
Snippets Groups Projects
Commit d6c9067a authored by François Grand's avatar François Grand
Browse files

configure cached files by service worker

refs #445
parent 91a6ebae
No related branches found
No related tags found
2 merge requests!225Release v4.17.0,!183Resolve "Install Cassiopee as a PWA"
...@@ -5,26 +5,21 @@ ...@@ -5,26 +5,21 @@
{ {
"name": "app", "name": "app",
"installMode": "prefetch", "installMode": "prefetch",
"updateMode": "prefetch",
"resources": { "resources": {
"files": [ "files": [
"/favicon.ico", "/favicon.ico",
"/index.html", "/index.html",
"/manifest.webmanifest", "/manifest.webmanifest",
"/*.css", "/**/*.css",
"/*.js" "/*.js",
] "/**/*.json",
} "/3rdpartylicenses.txt",
}, "/MaterialIcons-Regular.1e50f5c2ffa6aba4.eot",
{
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": [
"/assets/**", "/assets/**",
"/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)" "/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)"
] ]
} }
} }
] ]
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment