muety / wakapi

📊 A minimalist, self-hosted WakaTime-compatible backend for coding statistics

Home Page:https://wakapi.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Precompress assets

muety opened this issue · comments

Brotli apparently is way more efficient than gzip, however, not suitable for use in dynamic compression as part of a web server, since too resource expensive. Instead, we could deliver pre-compressed versions of assets, inspired by Caddy's precompressed directive. For Go applications, lpar/gzipped pretty much does the job.