cse110-fa22-group29/specs/adrs/120122-serviceworker-netfirst.md
Arthur Lu 1a1f5d8e1f finalize ADR
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-12-01 22:35:48 +00:00

19 lines
661 B
Markdown

# Use a network first cache second for service worker architecture
- Status: in consideration
- Deciders: Arthur Lu, Kara Hoagland, Rhea Bhutada, George Dubinin
- Date: 12 / 01 / 22
## Decision Drivers
- 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
## Considered Options
- Network first cache second
- Cache first network second
## Decision Outcome
Chosen Option: Network first for automatic app updating.