-
Notifications
You must be signed in to change notification settings - Fork 27
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
✨ [Frontend] Force reload no-cache
#6397
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6397 +/- ##
=========================================
- Coverage 84.5% 64.6% -19.9%
=========================================
Files 10 595 +585
Lines 214 30393 +30179
Branches 25 260 +235
=========================================
+ Hits 181 19664 +19483
- Misses 23 10669 +10646
- Partials 10 60 +50
Flags with carried forward coverage won't be shown. Click here to find out more. |
no-cache
no-cache
|
🔥 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
What do these changes do?
I finally found a user-friendly way to hard reload the app 🥳.
When the osparc detects the that there is a new version available, we will show the
A new version of the application is now available.
message together withClick the Reload button to get the latest features.
and the Reload button.This button will reload the page adding a qooxdoo-specific argument:
"?qooxdoo:add-no-cache=true"
.This argument, which is passed and consumed by the boot.js init file, adds a
nocache=rand()
query argument to the js resource calls. This forces a hard reload!Related issue/s
How to test
Dev-ops checklist