Disable service worker fetch cache for media proxy #3561

Merged
hj merged 1 commit from iamtakingiteasy/pleroma-fe:fix-media-proxy-sw-cache into develop 2026-08-16 13:13:21 +00:00

Checklist

  • Adding a changelog: In the changelog.d directory, create a file named <code>.<type>.

Currently service worker excludes from cache /media/ endpoints, but not /proxy/ ones, which if cached may never be allowed to recover from remote/rate-limit errors. The intent seem to be to not cache local uploads or any remote content, so this MR removes /proxy/ endpoints from cache alongside the /media/ ones.

### Checklist - [x] Adding a changelog: In the `changelog.d` directory, create a file named `<code>.<type>`. Currently service worker excludes from cache /media/ endpoints, but not /proxy/ ones, which if cached may never be allowed to recover from remote/rate-limit errors. The intent seem to be to not cache local uploads or any remote content, so this MR removes /proxy/ endpoints from cache alongside the /media/ ones. <!-- `<code>` can be anything, but we recommend using a more or less unique identifier to avoid collisions, such as the branch name. `<type>` can be `add`, `change`, `remove`, `fix`, `security` or `skip`. `skip` is only used if there is no user-visible change in the MR (for example, only editing comments in the code). Otherwise, choose a type that corresponds to your change. In the file, write the changelog entry. For example, if an MR adds group functionality, we can create a file named `group.add` and write `Add group functionality` in it. If one changelog entry is not enough, you may add more. But that might mean you can split it into two MRs. Only use more than one changelog entry if you really need to (for example, when one change in the code fix two different bugs, or when refactoring). -->
disable service worker fetch cache for media proxy
Some checks are pending
ci/woodpecker/pr/build Pipeline is pending approval
ci/woodpecker/pr/changelog Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test-e2e Pipeline is pending approval
ci/woodpecker/pr/test Pipeline is pending approval
8eea05314a
iamtakingiteasy force-pushed fix-media-proxy-sw-cache from 8eea05314a
Some checks are pending
ci/woodpecker/pr/build Pipeline is pending approval
ci/woodpecker/pr/changelog Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test-e2e Pipeline is pending approval
ci/woodpecker/pr/test Pipeline is pending approval
to 5ee45a97fb
Some checks are pending
ci/woodpecker/pr/build Pipeline is pending approval
ci/woodpecker/pr/changelog Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test-e2e Pipeline is pending approval
ci/woodpecker/pr/test Pipeline is pending approval
2026-08-16 06:32:58 +00:00
Compare
Author
Member

Fixed linter issue

Fixed linter issue
hj merged commit 042a9f7dcc into develop 2026-08-16 13:13:21 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pleroma/pleroma-fe!3561
No description provided.