Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service 'templating.helper.assets' -> getUrl should set null for version number #97

Open
tomsykes opened this issue Apr 22, 2016 · 0 comments

Comments

@tomsykes
Copy link

tomsykes commented Apr 22, 2016

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant