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

Hopefully, the random file names generated by the package to avoid caching problems #657

Open
974758241 opened this issue Oct 11, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@974758241
Copy link

Our packaged file name has always been Component-preload.js and manifest.json, so each deployment has caching problems, if you keep disabling the cache, and will affect the user experience! Can you package the production name is random, so you can avoid caching problems, or we configure NG only index.html no cache on it.

@974758241 974758241 added bug Something isn't working needs triage Needs to be investigated and confirmed as a valid issue that is not a duplicate labels Oct 11, 2022
@RandomByte
Copy link
Member

If I understand you right, you are requesting a feature to have the output files of a build have unique names in order to implicitly invalidate the browser cache.

I think this is a good idea. But we currently do not plan such a feature for UI5 Tooling.

You could however implement this yourself in a custom build task. Maybe the UI5 community has already done so (check for example https://github.com/ui5-community/ui5-ecosystem-showcase)?

Note that on some platforms you can alternatively make use of the Application Cache Buster: https://sapui5.hana.ondemand.com/#/topic/ff7aceda0bd24039beb9bca8e882825d

@RandomByte RandomByte added enhancement New feature or request and removed bug Something isn't working needs triage Needs to be investigated and confirmed as a valid issue that is not a duplicate labels Oct 17, 2022
@BenReim
Copy link

BenReim commented Dec 23, 2022

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

No branches or pull requests

3 participants