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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for starlette_static_cache_control-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e2db9900c64b6017e0f4b0de70057c0112fe3141cb4bdf87979a09f3a8e5c0d6
MD5 63e0001768fc0389d9356aa2b23fb33b
BLAKE2b-256 57438ab8152cc29f6e9e0cf6e3c4384dd3ebacffd82ddd5c58f9c4ba3314bcae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for starlette_static_cache_control-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd948a26aaea87013cf0eefcfe80f0d212e287eaac3177670b22c75fbeb1ded2
MD5 f13e6f994632431fdd5d8d2233b09c0f
BLAKE2b-256 c95445c8d628b062f632666329a675c8260b1266ae1bb3ae386926215cb0baf0

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