Closed Bug 785801 Opened 12 years ago Closed 11 years ago

gzip SVG attachments when the user agent allows it

Categories

(developer.mozilla.org Graveyard :: Editing, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 847422

People

(Reporter: teoli, Unassigned)

References

Details

When sending back data from the servers, we gzip then in order to minimize the amount of data send (if the user agent allows it w/ the Accept-Encoding	gzip, deflate )

But, by default, we don't do it for image/* as most image format are already compressed and gzipping them doesn't shrink the image size.

But for SVG images (Content-Type: image/svg+xml), we should send it back compressed as it is a non-compressed format: I expect to see the two headers in the response:
Content-Encoding:	gzip
Vary:			Accept-Encoding

(It is likely a few config options in Apache configuration)
Priority: -- → P3
Version: Kuma → unspecified
Component: Docs Platform → Editing
Marking as a duplicate of bug 847422. While this one is older, bug 847422 is more general and provides a full specification.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.