fix: rotate PWA cache and restrict runtime caching
This commit is contained in:
@@ -15,6 +15,14 @@ const config: AppConfig = {
|
||||
pwa: {
|
||||
name: "WRNexusJS Documentation",
|
||||
shortName: "WRNexusJS Docs",
|
||||
cacheName: "wrnexus-pwa-v2",
|
||||
runtimeCaching: [
|
||||
{
|
||||
pattern: "^https://wrnexusjs\\.dev/",
|
||||
strategy: "network-first",
|
||||
methods: ["GET"],
|
||||
},
|
||||
],
|
||||
display: "standalone",
|
||||
themeColor: "#6366f1",
|
||||
backgroundColor: "#0f172a",
|
||||
|
||||
Reference in New Issue
Block a user