Add brotli size support #562
Replies: 15 comments 2 replies
-
Huh, never heard of Brotli before 😄 . Awesome to learn new things! @th0r should be able to answer with any suggestions and feedback, when he's got time. I'd like to at least see a proof-of-concept of this Brotli support if possible |
Beta Was this translation helpful? Give feedback.
-
Never heard of Brotli as well. The only concern I have is the increasing of analyze time. Agree with @valscion here - it would be nice to see a proof-of-concept PR and comparison of analyze times with and without it. |
Beta Was this translation helpful? Give feedback.
-
It might be possible to add brotli support if it would be calculated only when some CLI or plugin option would be there. That way it would not increase analyze time for those who don't yet care about Brotli. |
Beta Was this translation helpful? Give feedback.
-
Hi guys, here there is the PR for Brotli support. It is working without problems on my setup. I couldn't include an opt-in option for the feature. |
Beta Was this translation helpful? Give feedback.
-
Neat! I think it'll be necessary to have an opt-in somehow, but currently it might require some architectural changes. Large changes would cause difficult merge conflicts with #97, though — I hope I could get that finished some day 😕 I hope you're OK with using the Brotli support from your branch? It's a bit unlikely that we'll want to calculate these sizes by default as brotli isn't that widely used yet |
Beta Was this translation helpful? Give feedback.
-
If this does get implemented, please can the brotli related dependencies not be added to Re Brotli itself, we happily use it on several production sites, however I'm not sure of the value of displaying brotli sizes in the analyzer, given: |
Beta Was this translation helpful? Give feedback.
-
Huh, thanks for the pointer :) |
Beta Was this translation helpful? Give feedback.
-
That should be easier now that native Brotli support (https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V11.md#notable-changes) landed in Node. |
Beta Was this translation helpful? Give feedback.
-
Something new to this? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
When is this getting merged ? |
Beta Was this translation helpful? Give feedback.
-
When someone who wants brotli size support does what we've described that needs to be done. See the comment right above yours. |
Beta Was this translation helpful? Give feedback.
-
I have the use-case that the pipeline analysis doesn't use |
Beta Was this translation helpful? Give feedback.
-
Brotli is the standard web compression method now (at least for anyone not supporting IE11), is it possible to revisit this? |
Beta Was this translation helpful? Give feedback.
-
This is a discussion issue to add Brotli size support on the report, side by side with gzip.
On the app we support, 78% of users surf the web with a brotli-enabled browser.
Global support is around 60%.
This will increase in the next days after macOS High Sierra and iOS 11 are launched.
See http://caniuse.com/#search=brotli
Also, in our tests, Brotli grants 10% more compression than Gzip.
We are developing a Angular CLI, Angular 4+ app.
I will be experimenting with a fork to add Brotli by replicating the Gzip size implementation.
Any suggestion and feedback is welcome.
Beta Was this translation helpful? Give feedback.
All reactions