-
Notifications
You must be signed in to change notification settings - Fork 728
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
Allow specify custom theme version to solve browser cache issues #11242
Labels
Comments
Full modifications needed:
|
Patch file against 8.8:
|
up. This is very annoying for the users: they must manually clear the cache. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When modifying custom themes between app releases, browser cache prevent loading the latest version which could mess a lot the vaadin app.
Same thing for widgetset generated JS if the app embed modified custom widgets.
To solve this we should be able to programmatically setup application version and/or theme version so that vaadinBootstrap.js tells the browser to download the latest versions.
For example for theme:
You could replace line 233 in vaadinBootstrap.js:
with
And allow to programmatically set themeVersion somewhere (SystemVersionsProvider like SystemMessagesProvider ?)
For widgetset we could use applicationVersion within versionInfo object.
The text was updated successfully, but these errors were encountered: