Skip to content

Option to prefer gz files. #112

@DylanPiercey

Description

@DylanPiercey

Coming from https://github.com/cloudhead/node-static, they have a "gzip" option that when enabled will automatically serve any .gz files in a directory and fallback to un gzipped variants.

Would it be possible to add a similar option here? I understand that a compression middleware would be most effective in many cases but it would be a handy option to have.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions