Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
eebbc543
Unverified
Commit
eebbc543
authored
2 years ago
by
Yamagishi Kazutoshi
Committed by
GitHub
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Disable media cache on service worker (#19471)
parent
31e23269
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/javascript/mastodon/service_worker/entry.js
+1
-1
app/javascript/mastodon/service_worker/entry.js
with
1 addition
and
1 deletion
+1
-1
app/javascript/mastodon/service_worker/entry.js
+
1
-
1
View file @
eebbc543
...
...
@@ -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
:
[
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets