I have a symfony application that gets served by a cdn (eg. akamai) and I generate the asset url on the templates with:
{{ asset('myJs.js') }}
When I do I want to generate a url like (supposing that the site is served by www.example.com) :
www.example.com/myJs.js?v=321321312312
Where the v parameter get a deployed version in order to force cdn (eg. akamai network) to cache me newer version. Is it a good way to dynamically generate the v parameter?