Skip to content

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

@tomsykes

Description

@tomsykes

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions