workshop33/django-staticutils — Issue #1: add "generatestatic" management command
Author: tkaemming
Created: 2011-10-10 18:16:24+00:00
State: open

add the ability to embed the version hash in the filename and dump the resulting file in `STATIC_ROOT` (or a custom directory to allow compatibility with alternative static storage engines)

for example, a file "logo.png" with a content hash of "5eb63bbb" would currently get a cache busted URL of `logo.png?5eb63bbb`, but it would be ideal for the URL to become ` logo.5eb63bbb.png` so multiple versions could exist on a CDN at the same time for rolling deploys (or faster rollbacks)