Draft: try out brotli compression
can't really make it work currently, or haven't seen the benefits of brocli vs lz-string yet
But seems this cool project https://github.com/stefnotch/url-catpressor made has found the way
- https://github.com/httptoolkit/brotli-wasm/issues/8
- https://github.com/stefnotch/url-catpressor/blob/a1ecbe032711363f64811c10f5bef2913d3d8f42/vite.config.ts#L9
- https://github.com/stefnotch/url-catpressor/blob/a1ecbe032711363f64811c10f5bef2913d3d8f42/package.json
- https://github.com/stefnotch/url-catpressor/blob/main/src/cat-encoding.ts ← cool stuff
Edited by 4www