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

Uploaded Source

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