ui
ui copied to clipboard
BUG: Browser Cache after Update
Bug Description Some Information are hard cached in the UI (the seconds parts shows the temporarily solution):
- apollo_url -> clear full site data
- list of tasks -> ctrl+f5
- version numbers in the left side panel at the bottom -> ctrl+f5
We had this problem over some upgrades. Not sure when it started, but clients still use the old GUI.
Steps To Reproduce
- upgrade ui (& server) - we use
prefect server start
- or change the apollo url in the config.toml
[server]
[server.ui]
apollo_url="https://tst.cdwh.uhbs.ch:443/graphql"
- in the ui you will not see these changes always.
Browsers Tested:
- [x] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Edge
- [ ] IE
I am also seeing this issue (have tried on Docker tag prefecthq/ui:core-0.15.5). I am seeing the Apollo URL stored in localStorage under a <timestamp>_server_url key. localStorage.clear() works to refresh the Apollo URL, but would be better if it can be automatically refreshed.
Relevant slack discussion: https://prefect-community.slack.com/archives/C014Z8DPDSR/p1631777113319300