View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
3750 | Composr | core | public | 2018-12-11 15:08 | 2022-08-15 00:49 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Priority | normal | Severity | feature | ||
Status | closed | Resolution | not fixable | ||
Summary | 3750: stale-while-revalidate | ||||
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. | ||||
Tags | Type: Performance , Type: Standards compliance | ||||
Attach Tags | |||||
Time estimation (hours) | 2 | ||||
Sponsorship open | |||||
related to | 305 | Not Assigned | Faster admin navigation |
|
This is an interesting feature. Back in the day we implemented something similar in ocPortal using JavaScript, but it turned out way too complicated and buggy and was removed. 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. |
|
This is not what I thought (https://web.dev/stale-while-revalidate/). It populates the future cache record with a newer version while using the stale version - but there's no switcheroo. |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-12-11 15:08 | Chris Graham | New Issue | |
2018-12-11 15:08 | Chris Graham | Tag Attached: Type: Performance | |
2021-03-15 16:18 | Chris Graham | Description Updated | |
2021-03-15 16:20 | Chris Graham | Note Added: 0007003 | |
2021-03-15 16:52 | Chris Graham | Relationship added | related to 305 |
2022-08-15 00:45 | Chris Graham | Tag Attached: Type: Standards compliance | |
2022-08-15 00:49 | Chris Graham | Assigned To | => Chris Graham |
2022-08-15 00:49 | Chris Graham | Status | Not Assigned => Closed |
2022-08-15 00:49 | Chris Graham | Resolution | open => not fixable |
2022-08-15 00:49 | Chris Graham | Note Added: 0007445 |