XPost: linux.debian.devel
Package: wnpp
Severity: wishlist
Owner: Thomas Goirand <
[email protected]>
X-Debbugs-Cc:
[email protected]
* Package name : node-express-static-gzip
Version : 3.0.0
Upstream Contact: Tobias Koenig <
[email protected]>
* URL :
https://github.com/tkoenig89/express-static-gzip
* License : Expat
Programming Lang: Javascript
Description : serve pre-compressed static assets in Express efficiently
This library extends Express.js by providing middleware to serve
pre-compressed (gzip and Brotli) static files transparently. It detects
client-supported compression formats and delivers the appropriate asset,
falling back to uncompressed files if necessary.
.
Key features:
- Automatically serve .gz and .br pre-compressed files alongside originals
- Honor client Accept-Encoding header for optimal compression selection
- Fallback support to original resources if compressed versions are missing
- Easy integration with Express apps using familiar middleware pattern
- Lightweight and dependency-free
.
Ideal for performance-conscious web servers and apps utilizing static
site generation where assets are compressed ahead of time.
I will maintain this package in the Home Assistant team.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)