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.
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:
Configuration
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.