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 details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for starlette_static_cache_control-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e165371026da5bfd6db2d5831beffa2fbe64cdc00d1beafc685fd509087800e2
MD5 59def2365cac5feafebb426f77050a9e
BLAKE2b-256 9b84799216fc1e7e716e68b079e1718e79919148b491114bdd4fee10b56ad9f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for starlette_static_cache_control-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 01eafb85e4124c66a88370c52dcd4e575e42ddc5fc4d3d48d6d487f80cf92418
MD5 a0f5dcb4ca70b64f624671e3adeedaec
BLAKE2b-256 9fdd33f9b55328487a7b6fbcb5d6993739ac71f82bc281ddb642bcfe2df2f49b

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