Unverified Commit eebbc543 authored by Yamagishi Kazutoshi's avatar Yamagishi Kazutoshi Committed by GitHub
Browse files

Disable media cache on service worker (#19471)

parent 31e23269
Showing with 1 addition and 1 deletion
+1 -1
......@@ -43,7 +43,7 @@ registerRoute(
);
registerRoute(
({ request }) => ['audio', 'image', 'track', 'video'].includes(request.destination),
({ request }) => request.destination === 'image',
new CacheFirst({
cacheName: `m${CACHE_NAME_PREFIX}media`,
plugins: [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment