Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork503
Add brotli size support#562
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
This is a discussion issue to add Brotli size support on the report, side by side with gzip. Also, in our tests, Brotli grants 10% more compression than Gzip. I will be experimenting with a fork to add Brotli by replicating the Gzip size implementation. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 18
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 |
BetaWas this translation helpful?Give feedback.
All reactions
-
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. |
BetaWas this translation helpful?Give feedback.
All reactions
-
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. |
BetaWas this translation helpful?Give feedback.
All reactions
-
👍 |
BetaWas this translation helpful?Give feedback.
All reactions
-
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. |
BetaWas this translation helpful?Give feedback.
All reactions
-
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 |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
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: |
BetaWas this translation helpful?Give feedback.
All reactions
-
Huh, thanks for the pointer :) |
BetaWas this translation helpful?Give feedback.
All reactions
-
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. |
BetaWas this translation helpful?Give feedback.
All reactions
🎉 1
-
Something new to this? |
BetaWas this translation helpful?Give feedback.
All reactions
-
|
BetaWas this translation helpful?Give feedback.
All reactions
-
When is this getting merged ? |
BetaWas this translation helpful?Give feedback.
All reactions
-
When someone who wants brotli size support does what we've described that needs to be done. See the comment right above yours. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 6
-
I have the use-case that the pipeline analysis doesn't use |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Brotli is the standard web compression method now (at least for anyone not supporting IE11), is it possible to revisit this? |
BetaWas this translation helpful?Give feedback.
All reactions
-
Yeah at this point should replace gzip with Brotli. |
BetaWas this translation helpful?Give feedback.
All reactions
-
This PR is in the works and would support Brotli:#432 |
BetaWas this translation helpful?Give feedback.
All reactions
🎉 1
This discussion was converted from issue #113 on February 23, 2023 09:06.
