Re:Commento: Open-Source Disqus Alternative
by samschooler on Wednesday March 20, 2019 @12:30PM
(#19443816)
Its generally used as a data transfer compression system. So the web server needs to compress the data before its sent to the browser. If you did it at the web app level (client/browser side), the data would already be transferred so there are no size savings.
[ Parent
| on HN ]
Re:Commento: Open-Source Disqus Alternative
by tracker1 on Wednesday March 20, 2019 @12:54PM
(#19444094)
Many web servers will serve file.ext.(gz|br) as a pre-compressed option. In order for brotli to beat gzip on size, you need more CPU time, so it's best if precompressed. This also means it's not really an option for dynamic content.