{"categories":[{"label":"Middleware","url":"https://skillfed.io/packages/category/internet-www-http-wsgi-middleware"}],"enrichment":{"capability":"WhiteNoise serves static files directly from a Python WSGI application without requiring a separate web server or CDN, handling compression, caching headers, and best practices automatically.","skillfed_tags":["wsgi-middleware","static-files","deployment-simplification"],"use_cases":["Deploy a Django app to Heroku or OpenShift without configuring external static file storage.","Serve CSS, JavaScript, and images from a containerized Python application without nginx.","Simplify local development by eliminating separate static file server setup.","Reduce deployment complexity for small-to-medium traffic sites by bundling static serving.","Enable gzip and Brotli compression of static assets with automatic header management."],"what_it_does":"WhiteNoise is a WSGI middleware that allows Python web applications to serve their own static files without relying on external services like nginx or Amazon S3. It wraps any WSGI-compatible application and intercepts requests for static assets, handling them efficiently within the application itself. This makes deployments simpler and more self-contained, particularly valuable on Platform-as-a-Service providers where external services may be unavailable or costly.\n\nThe package automates several static-file best practices: it compresses responses using gzip and Brotli formats with proper Accept-Encoding and Vary header handling, sets far-future cache headers on immutable content, and includes special auto-configuration for Django applications. It is designed to work alongside CDNs for high-traffic sites, so adopting it does not sacrifice performance for simplicity.","worth_installing":"Yes. WhiteNoise is production-stable, actively maintained, has zero security vulnerabilities, requires no external dependencies, and solves a common deployment pain point. Install it if you are deploying a WSGI or Django application to a managed platform or containerized environment where you want static files bundled with the app."},"id":"whitenoise","links":{"html":"https://skillfed.io/packages/whitenoise","md":"https://skillfed.io/packages/whitenoise.md","pypi":"https://pypi.org/project/whitenoise/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-27","license_spdx":"MIT","license_treatment":"permissive","name":"whitenoise","python_support":"supports_current","summary":"Radically simplified static file serving for WSGI applications"},"popularity":{"monthly_downloads":16674728,"position":1143,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"6.12.0"}
