data
data copied to clipboard
feat: request deduping & <Request /> invalidate subscriptions
Follow up from https://github.com/emberjs/data/pull/9363
- [x] dedupe requests: before if multiple requests required bypassing cache/fulfilling from handler chain each would run in its entirely. This primarily negatively affected first-load scenarios / thundering-herd reload scenarios. Now requests with a unique identifier will only maintain one active-request per-id per-store at a time.
- [x] invalidate subscription: we've added a new
invalidate
event to the notification manager, and upgraded the CachePolicy provided by request-utils to send this event / upgraded<Request />
to subscribe to this event - [ ] time based refresh on
<Request />
- [ ] invalidate event based refresh on
<Request />
- [ ] background reload subscriptions on
<Request />
- [ ] reload subscriptions on
<Request />