Serve Resource from Cache If it Exists in Cached Collection

Created on 4 November 2023, about 1 year ago
Updated 14 April 2024, 7 months ago

Problem/Motivation

As we add the ability to get an individual resource by ID, we could encounter a case where a requested resource could be satisfied from a cached collection. Since resources and collections will have unique cache keys, the caches for resources and collections are essentially handled separately.

We could solve this problem, but it will likely also increase the complexity of our cache logic quite a bit. So we'll need to consider the priority of this. Should we solve it in this package, or should we provide a method for provided caches to implement this behavior. Or do nothing?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Component

Code

Created by

🇺🇸United States brianperry

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024