mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Disable media cache on service worker (#19471)
This commit is contained in:
parent
31e23269f9
commit
eebbc5439a
@ -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: [
|
||||
|
Loading…
Reference in New Issue
Block a user