Assetic\Factory\AssetFactory::generateAssetName() names output files
deterministically. But why not name the output files based on the
_contents_ of the static (.js/.css) files?

See also:
http://meta.stackoverflow.com/questions/112182/how-does-se-determine-the-css-and-js-version-parameter

And yes, I know about assets_version, but this requires something like
https://gist.github.com/3947737 to be automatic and useful. Also, it's
inefficient. It seems like a much more common reason to want to bust
cache is because some static content changed.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to