Do not emit compressed files larger than the input #317

Open
opened 2026-01-29 20:41:54 +00:00 by claunia · 0 comments
Owner

Originally created by @dilyanpalauzov on GitHub (Apr 23, 2020).

As a matter of fact I want to compress all text files on a webserver, so that these are served compressen on Accept-Encoding. As a matter of fact, an uncompressed file of 41 bytes is compressed to 46 bytes. when the output is bigger than the input, the output file shall not be created by default.

Originally created by @dilyanpalauzov on GitHub (Apr 23, 2020). As a matter of fact I want to compress all text files on a webserver, so that these are served compressen on Accept-Encoding. As a matter of fact, an uncompressed file of 41 bytes is compressed to 46 bytes. when the output is bigger than the input, the output file shall not be created by default.
claunia added the featurerelease-v1.1 labels 2026-01-29 20:41:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#317