Skip to main content

Add version info to file paths.

Project description

Add version info to file paths. The default configuration will prefix a timestamp to and make the path absolute. Paths must be files, if a path is unexisting or is a directory, an exception will be raised.

Typically used in templates to allow for really long expiration dates of static content:

<link rel="stylesheet" href="{{"static/css/style.css"|versioned}}">

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

Flask-Versioned-0.9.4-20101221.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file Flask-Versioned-0.9.4-20101221.tar.gz.

File metadata

File hashes

Hashes for Flask-Versioned-0.9.4-20101221.tar.gz
Algorithm Hash digest
SHA256 516694dc860a1bc4f22ab60b324a85083c0150522be109282a3bed681057fd34
MD5 a2631a3acdfe5172149dfa5a62536233
BLAKE2b-256 52cfc005563642a7983fc172a1227b5817d61b8f67bce30a82e89ae02803635d

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