Skip to content

x.vweb: add gzip compression support for static files #20859

@davlgd

Description

@davlgd

Describe the feature

It could be great to be able to use gzip compression method to serve static files.

Use Case

It's now default for web server to serve compressed files, especially for static files. As it seems not to be possible through vweb, it's a downside for this great lib.

Proposed Solution

No response

Other Information

gzip compression is working as expected for dynamically served content, but not for static assets

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Version used

V 0.4.4 298a2a2

Environment details (OS name and version, etc.)

macOS (ARM64) 14.3.1

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature/Enhancement RequestThis issue is made to request a feature or an enhancement to an existing one.Unit: vwebBugs/feature requests, that are related to the `vweb`.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions