2022-12-03 02:02:52 +00:00
|
|
|
# Use a network first cache second for service worker architecture
|
2022-12-01 08:37:49 +00:00
|
|
|
|
2022-12-03 02:02:52 +00:00
|
|
|
- Status: in consideration
|
|
|
|
- Deciders: Arthur Lu, Kara Hoagland, Rhea Bhutada, George Dubinin
|
|
|
|
- Date: 12 / 01 / 22
|
2022-12-01 08:37:49 +00:00
|
|
|
|
|
|
|
## Decision Drivers
|
|
|
|
|
2022-12-03 02:02:52 +00:00
|
|
|
- Need to balance the need for user ease of use and local first priority
|
|
|
|
- Users should expect to update their app easily when they have network, but may not be expected to know how to perform a hard refresh
|
|
|
|
- Local first priority means we should avoid unnecessary network activity when possible
|
2022-12-01 08:37:49 +00:00
|
|
|
|
|
|
|
## Considered Options
|
2022-12-03 02:02:52 +00:00
|
|
|
|
|
|
|
- Network first cache second
|
|
|
|
- Cache first network second
|
2022-12-01 08:37:49 +00:00
|
|
|
|
|
|
|
## Decision Outcome
|
|
|
|
|
2022-12-03 02:02:52 +00:00
|
|
|
Chosen Option: Network first for automatic app updating.
|