Skip to content
W

Whitenoise

Radically simplified static file serving for Python web apps

by evansdFree

#1231in Utilities
0In stores

Description

WhiteNoise lets a Python web application serve its own static files, so it can be deployed without a separate web server such as nginx or an…

Highlights

  • Serves a Python web app's static files itself
  • Works with any WSGI-compatible app, with Django auto-configuration
  • Gzip and Brotli compression
  • Far-future cache headers for files that do not change
  • Designed to work with a CDN

Ratings & Reviews

No ratings yet

Be the first to rate Whitenoise.

People also visit

S

Static Web Server

Cross-platform, high-performance

Developer Tools
Launch
S

Static.app

One-click hosting solution for your static website

Developer Tools
Launch
B

bundlejs.com

An online tool to quickly bundle & minify your projects

Utilities
Launch
T

tigris-static-assets

Deploying static assets (CSS, JS, fonts, build artifacts) to Tigris

AI Skills
Get
S

Static.run

Fast static hosting with instant SSL, deploys

Utilities
Launch
U

Updog

Updog is a replacement for Python's SimpleHTTPServer

Utilities
Launch

Whitenoise FAQ

What does WhiteNoise do?

It serves a Python web app's static files directly from the app, so you do not need nginx or S3 for them.

Does it work with Django?

Yes. The README says it has special auto-configuration features for Django. It also works with any WSGI-compatible app.

Which compression does it use?

Gzip and Brotli, with correct Accept-Encoding and Vary headers.

Where do I install it?

It is published on PyPI, and its documentation is on Read the Docs.

Can it handle high traffic?

The README says it is designed to work with a CDN for high-traffic sites, so you do not have to trade performance for simplicity.

What are the best Whitenoise alternatives?

Popular alternatives to Whitenoise include bundlejs.com, Static.run and Updog. See all Whitenoise alternatives

Developer Stuff

Badges