Description of the need
Formal request to add Brotli compression and make gzip the fallback compression
Background
Long story short, Brotli is a newer compression algorithm designed by Google around 2013 to replace gzip which was created in 1992. Brotli produces larger compression ratios over gzip, allowing for even smaller file sizes.
I won't go into detail about what Brotli is, how to get it going or why Backdrop should support it because this article does a fantastic job explaining it: https://csswizardry.com/2020/04/real-world-effectiveness-of-brotli/
Proposed solution
It looks like some work will need to be done to add Brotli as a compression within Backdrop itself, much like gzip. This is mostly over my head, but looks like the same code that runs gzip can be used to do the same with Brotli
Additional information
Should this be a contrib for now until it gains more traction? Maybe it will gain more traction if it is actually part of core.
Recent comments
This is helpful. When I Googled for suggestions about the error message, I found an old entry in Stack Overflow that suggested increasing max_connections. I passed that along to the hosting...
"SQLSTATE[08004] [1040] Too many connections" error - any ideas?
Thanks for the suggestions. All caches have been enabled from the start. I'm not sure what qualifies as a "complex" view. There are 400-500 pages that include EVA fields. But the vast...
"SQLSTATE[08004] [1040] Too many connections" error - any ideas?
Also, when we had some problems with the Backdrop sites, this is what the server admin did: I have increased the max_connections for mariadb and increased the child_processes for...
"SQLSTATE[08004] [1040] Too many connections" error - any ideas?