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.1.tar.gz (1.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file starlette_static_cache_control-0.1.1.tar.gz.

File metadata

File hashes

Hashes for starlette_static_cache_control-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7ffecbfae9c3ea2eae2bfed8e6bb1e94a89349dbad47318e35e820c19a71ca53
MD5 cbd26e984df439d5a26a174ed8134b7a
BLAKE2b-256 3a51fcf6519b9cf32069d7643444d62161558c1a3c6842a09eb7c5d5bcd43de9

See more details on using hashes here.

File details

Details for the file starlette_static_cache_control-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for starlette_static_cache_control-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b0b9eb068e2b451ff28249905f1bba095b5f79f130c66a436f1059fb5e910b8
MD5 d3118418fa6fa75b22012a57bd54bdd7
BLAKE2b-256 bf11acd4855a0bc2ba7eba67ec5b7140fe05547b79e5705d73201d56bd172a58

See more details on using hashes here.

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