View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002670 | Composr | core | public | 2016-06-19 17:05 | 2019-11-27 19:57 |
Reporter | Chris Graham | Assigned To | |||
Severity | feature | ||||
Status | non-assigned | Resolution | open | ||
Product Version | |||||
Fixed in Version | |||||
Summary | 0002670: Support Brotli compression | ||||
Description | Brotli compression, which is very new, may present roughly 20% improvement over gzip. It isn't yet supported by PHP or Apache (https://en.wikipedia.org/wiki/Brotli), but when it is, we should support it as an automated upgrade from gzip compression for those users that can run it (Firefox, Chrome - but we look at the Accept-Encoding header). I don't think it needs to be configurable. | ||||
Tags | Roadmap: v12, Type: Performance | ||||
Attach Tags | |||||
Time estimation (hours) | 4 | ||||
Sponsorship open | |||||
|
Brotli is similar to gzip, but uses an inbuilt dictionary optimized for web traffic. "Javascript files compressed with Brotli are 14% smaller than gzip. HTML files are 21% smaller than gzip. CSS files are 17% smaller than gzip." There is a PHP extension we can support: https://github.com/kjdev/php-ext-brotli We can also try our .htaccess trick of serving pre-heavily-compressed .br files directly if the browser accepts them, like we currently do with .gz. |
|
Interesting/relevant note - Brotli is HTTPS-only. This is because they figure proxies will cache Brotli content served under HTTP and cause all kinds of bugs for UAs not supporting it. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-06-19 17:05 | Chris Graham | New Issue | |
2016-06-19 17:05 | Chris Graham | Tag Attached: Type: Performance | |
2017-04-08 14:44 | Chris Graham | Description Updated | View Revisions |
2019-06-27 19:23 | Chris Graham | Summary | Support Brotli compression (holding issue) => Support Brotli compression (on hold) |
2019-09-30 22:35 | Chris Graham | Note Added: 0006098 | |
2019-09-30 22:35 | Chris Graham | Summary | Support Brotli compression (on hold) => Support Brotli compression |
2019-11-14 22:04 | Chris Graham | Tag Attached: Roadmap: v12 | |
2019-11-27 19:55 | Chris Graham | Note Added: 0006188 | |
2019-11-27 19:57 | Chris Graham | Note Edited: 0006188 | View Revisions |