v
v copied to clipboard
x.vweb: add gzip compression support for static files
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.