From 0ceff8c7252abc43479b0a920466893431293b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20R=C3=B6sch?= Date: Wed, 22 Jul 2020 18:31:50 +0200 Subject: [PATCH] [docker-push] Cache URLs with fragments as well --- vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index df53f98e..efaff3b9 100644 --- a/vue.config.js +++ b/vue.config.js @@ -12,7 +12,7 @@ module.exports = { exclude: ['index.html'], runtimeCaching: [ { - urlPattern: new RegExp('/$'), + urlPattern: /^$|^\/$|\/#.*$/, handler: 'NetworkFirst' } ]