Skip to content

Docs: Brotli Doesn't Compress lzw Output Effectively #153

@nickreese

Description

@nickreese

Was running a quick test of different compression libraries to compress JSON objects. Due to the way that lzwCompress uses numbers to represent the JSON, Brotli can't compress it.

In our case we had a ~500kb JSON object we needed to write to HTML. lzw reduced the size by ~42% but when comparing the lzw page vs the regular page, the lzw page was 20% larger with Brotli compression.

Killer library (really quiet impressed) but was bummed to see it didn't play well with Brotli.

May be worth mentioning in the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions