ImageBundle
ImageBundle copied to clipboard
service 'templating.helper.assets' -> getUrl should set null for version number
Within the ImageHandling service, the createInstance() method makes a call upon the templating.helper.assets service to getUrl().
Since the thumbnails use hashes for file names, there is no need for cache busting these files, and indeed cache busting them will simply cause an overhead.
public function getUrl($path, $packageName = null, $version = null)
Is there a way to call getUrl and override the version set from config.yml (framework.templating.assets_version) with no version? False? Empty string?