Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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: [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment