Microlink Function:
How to compress

September 3, 2022 ()

The query parameter function allows you dynamic code execution with remote headless browser access on runtime:

Interactive Code Editor

Test API requests with multiple programming languages. Edit code, execute requests, and view responses in real-time.

The function body can be pass in plain text, but also multiple compression algorithms are supported.

Brotli

is a modern and general purpose compression algorithm with a well compression ratio.
brotli has a good compression ratio & speed.

Lz-string

is designed to be efficient for compressing text.
lz-string is lightweight enough to be used for client-side apps.

Gzip

gzip is the predecessor of brotli and it's widely supported.
It's possible to compress using gzip directly in the browser, using .

Join the community

All of these improvements or features are community driven: We listen to your feedback and act accordingly.
Whether you are are building a product and you need fancy previews, you’re an indie hacker or simply you like frontend stuff, come chat with us 🙂.