#3750 - stale-while-revalidate
| Identifier | #3750 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | stale-while-revalidate |
| Status | Closed (not fixable) |
| Tags |
Type: Performance (custom) Type: Standards compliance (custom) |
| Handling member | Chris Graham |
| Addon | core |
| Description | Chrome is implementing stale-while-revalidate cache-control (showing an old cached resource until the new one has downloaded).
https://caniuse.com/?search=stale-while-revalidate (Firefox, Chromium) This would be great in many areas of Composr, e.g. making admin navigation super-fast (we'd want to make sure that the chance of trivial changes on a page were minimised so it doesn't even need to do a re-paint). Make it configurable somehow. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
One problem is that it could confuse the user if things jump around unexpectedly. Ideally it should show that a page is stale, like making it less opaque or shadowed or something.
Also there is potential for issue if JS code is running. It could run twice for example.
So, if we do this, it needs a lot of care and testing.