From 11ad5abac001dac66af9d4d5bc199060c8fe6da8 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 18 Apr 2018 01:17:04 +0200 Subject: [PATCH] Disabled caching for media files --- scripts/ServiceWorker/ServiceWorker.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/ServiceWorker/ServiceWorker.ts b/scripts/ServiceWorker/ServiceWorker.ts index f5689631..e18f6825 100644 --- a/scripts/ServiceWorker/ServiceWorker.ts +++ b/scripts/ServiceWorker/ServiceWorker.ts @@ -62,8 +62,11 @@ class MyServiceWorker { // Chrome extension "chrome-extension", - // WebM files - ".webm" + // Media files + ".webm", + ".opus", + ".ogg", + ".m4a", // Authorization paths /auth/ and /logout are not listed here because they are handled in a special way. ])