|
@@ -70,6 +70,20 @@ export default defineConfig({
|
|
|
options: {
|
|
|
cacheName: 'js-css-cache'
|
|
|
}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ urlPattern: /.*\.html.*/,
|
|
|
+ handler: 'NetworkOnly',
|
|
|
+ options: {
|
|
|
+ cacheName: 'wisbayar-html',
|
|
|
+ expiration: {
|
|
|
+ maxEntries: 20,
|
|
|
+ maxAgeSeconds: 30 * 24 * 60 * 60
|
|
|
+ },
|
|
|
+ cacheableResponse: {
|
|
|
+ statuses: [200]
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
]
|
|
|
},
|