Hi Adam,

There's currently a patch being worked on in the assetic repo that will
solve this. The main patch is merged but there's still a number of issues
that should be resolved before considering it "stable".

https://github.com/kriswallsmith/assetic/pull/297

and

https://github.com/symfony/AsseticBundle/pull/119


On Sat, Nov 17, 2012 at 3:32 AM, Adam Monsen <[email protected]> wrote:

> 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.
>
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to