Skip to content

Add proper cachebusting to backoffice files #792

@skttl

Description

@skttl

Which component is this issue related to?

Umbraco Commerce (Core)

Which Umbraco Commerce version are you using? (Please write the exact version, example: 10.1.0)

16.4.1

Bug summary

Look at all these Commerce js files from the backoffice:

Image

When you set cache instructions to let the browser keep those files (or have Cloudflare cache them), they won't update when new versions are released. This caused #791 and other problems for us.

Can we have a better cachebusting method on these?

Specifics

No response

Steps to reproduce

Install an old version of Umbraco Commerce. Make sure to set caching of static files. Update Umbraco Commerce. Notice how the backoffice files doesn't bust the cache.

Expected result / actual result

No response

Dependencies

No response


This item has been added to our backlog AB#62149

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions