Radically simplified static file serving for WSGI applications
With a couple of lines of config WhiteNoise allows your web app to serve its own static files, making it a self-contained unit that can be deployed anywhere without relying on nginx, Amazon S3 or any other external service. Radically simplified static file serving for WSGI applications
evansd/whitenoise repo was created 8 years ago and was last updated 2 days ago.
The project is very popular with an impressive 1907 github stars!
How to Install whitenoise
You can install whitenoise using pip
pip install whitenoise
or add it to a project with poetry
poetry add whitenoise
- David Evans
- GitHub Repo
A list of common whitenoise errors.
Here are some
whitenoise code examples and snippets.
The whitenoise package as 34 open issues on GitHub
- (WIP) add compress skip patterns from settings
- Skip compression of already compressed files based on saved file hashes
- Added Django Middleware that Delays Traversal of Static Root until Requested
- Add webp support for when a webp version of an image is available (with fallback for older browsers and CDN support).
- FAQ out of date?
- Add ASGI adapter