Skip to main content

No project description provided

Project description

starlette_static_cache_control

A starlette.staticfiles.StaticFiles subclass allowing custom Cache-Control. Just import it (it's called CacheControlStaticFiles) and use it as regular StaticFiles, it only has an additional cache_control argument. The class was stolen from https://github.com/lexxai/goit_python_web_hw_14/blob/a4e247e2b1afb57f2d8eb9e63a34d34f4f3e6bd6/hw14/main.py#L99

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

starlette_static_cache_control-0.1.2.tar.gz (1.1 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page