-
Notifications
You must be signed in to change notification settings - Fork 1k
Labels
Awaiting TriageBrand New Issue - not yet reviewed & prioritized by the Submitty Project ManagersBrand New Issue - not yet reviewed & prioritized by the Submitty Project Managersbug
Description
Describe the bug
A warning banner indicating that the server time is out-of-sync with the client time sometimes appear on reloaded pages, even though the time is correct. This is caused by aggressive caching, which saves an older send time.
Expected behavior
The time the page was sent shouldn't be cached, so that the warning banner will not appear when a page is reloaded.
To Reproduce
Steps to reproduce the behavior:
- Open any page on the Submitty website.
- Close the page and wait >2 minutes.
- Reopen the page from the browser history (CTRL-Shift-T).
- See the banner appear, even though the time is aligned.
Configuration
- OS: Arch Linux
- Browser: Firefox
Screenshots
The following example of the warning banner appeared, even though the time was set properly. The banner went away after a manual reload.
Additional context
The original version of this issue incorrectly identified the problem as stale pages being loaded, and was modified to fix the issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Awaiting TriageBrand New Issue - not yet reviewed & prioritized by the Submitty Project ManagersBrand New Issue - not yet reviewed & prioritized by the Submitty Project Managersbug