miracle2k/webassets — Issue #116: Make url_expire smarter
Author: miracle2k
Created: 2012-03-08 23:05:13+00:00
State: open

Currently, if one prefers to use %(version)s placeholders, one needs to explicitly turn off url_expire, otherwise, the url would contain the version twice.

url_expire could be smarter:

url_expire = none
adds querystring if no placeholder in output
url_expire = false
never adds querystring
url_expire = true
always adds querystring