History back to boards shows stale cached version
Summary
When navigation away from a board (for instance to the detail view of an issue) and using the browser history back button to return to the board all recent changes are not visible.
Steps to reproduce
- Open a issue board
- Apply a change to an issue, like dragging an issue to a different column
- Click on an issue title
- Use the back button in your browser to return to the issue board
Example
Boards___Marlon_Baeten__example-project___GitLab
What is the current bug behavior?
The stale cached version of the board is shown.
What is the expected correct behavior?
The board should reflect all recent changes.
Output of checks
This bug happens on GitLab.com
Possible fixes
Use JS to listen to the "pageshow" event and update the board when a history traversal is detected.
Edited by Marlon Baeten