Please allow higher levels of brotli compression

Hello.
I am a big fan of Cloudflare Pages, I think it is an amazing platform and I really like using it.

Cloudflare compresses assets using brolti’s level 4 compression algorithm, which is great, but it can be even better.

As can be seen on this website:
https://tools.paulcalvano.com/compression.php

When inserting the ‘moment’ package:
https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.3/moment-with-locales.min.js

Brotli level 9 emits a 13% smaller filesize compared to level 4.

I understand that levels 10 and 11 are really problematic regarding compression speed:
https://quixdb.github.io/squash-benchmark/#results-table

That’s why I think level 9 is sufficient.

Regarding CPU usage, level 4 can remain the default, but please make it an option for power users to tweak brotli’s compression level via settings or an environment variable.

Thanks.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.