Bug#1109208: ITP: node-express-static-gzip -- Serve pre-compressed static assets in Express efficiently
Package: wnpp
Severity: wishlist
Owner: Thomas Goirand <zigo@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org
* Package name : node-express-static-gzip
Version : 3.0.0
Upstream Contact: Tobias Koenig <tobiaskoenig1@gmail.com>
* 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.
Reply to: