mirror of
https://github.com/photoprism/photoprism.git
synced 2026-03-02 22:57:18 -05:00
Server: Refactor Gzip exclusions to use a custom func #2457
Labels
No labels
ai
android
api
auth
awesome
bug
bug
ci
cli
config
database
declined
deprecated
docker
docs 📚
documents
duplicate
easy
enhancement
enhancement
enhancement
epic
faces
feedback wanted
frontend
hacktoberfest
help wanted
idea
in-progress
incomplete
index
invalid
ios
labels
live
live
low-priority
macos
member-feature
metadata
mobile
nas
needs-analysis
no-coding-required
no-coding-required
observability
performance
places
please-test
plus-feature
priority
pro-feature
question
raspberry-pi
raw
released
released
released
research
resolved
security
sharing
tested
tests
third-party-issue
thumbnails
upgrade
upstream-issue
ux
vector
video
waiting
won't fix
won't fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/photoprism#2457
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lastzero on GitHub (Dec 12, 2025).
Originally assigned to: @graciousgrey on GitHub.
As an admin, developer, and user, I want PhotoPrism to avoid gzip-compressing binary/streaming endpoints (downloads, previews, ZIP streams, health checks) so that responses remain correct for clients (including range/stream consumers) and server CPU overhead is reduced.
Acceptance Criteria
HttpCompressionconfig option.jpg,.png,.mp4,.zip, etc.)/api/v1/photos/:uid/dl)/api/v1/cluster/theme)/s/:token/:shared/preview)/livez,/health,/healthz,/readyz)Accept-Encoding: gzipis setAccept-Encoding: gzipare not gzipped