./www/py-whitenoise, Simplified static file serving for WSGI applications

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2018Q1, Version: 4.0b3, Package name: py27-whitenoise-4.0b3, Maintainer: pkgsrc-users

WhiteNoise provides radically simplified static file serving for Python
web apps.

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. (Especially useful on Heroku, OpenShift and other PaaS
providers.)

It’s designed to work nicely with a CDN for high-traffic sites so you
don’t have to sacrifice performance to benefit from simplicity.

WhiteNoise works with any WSGI-compatible app but has some special
auto-configuration features for Django.

WhiteNoise takes care of best-practices for you, for instance:

- Serving compressed content (gzip and Brotli formats, handling
Accept-Encoding and Vary headers correctly)

- Setting far-future cache headers on content which won’t change


Required to run:
[lang/python27] [devel/py-setuptools]

Master sites:

SHA1: e2e11b03211cef859ecf71524eb3311b3a85eda5
RMD160: 6b93d167164d05cb04ef1e37baab377966890a87
Filesize: 39.742 KB

Version history: (Expand)