jaredsmithse / jaredsmithse/ynab.cr
Caching
- Dominant language
- Crystal
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
We should have some internal data tree to cache all of the responses for INDEX requests so that if a user makes that call and then a GET/Show request that we already have, we just return that.
This would need to have some kind of expiration tracking and invalidation marking for when we make a PUT/POST request. Also will need to make available a `force` option and to update the internal data when we make DELETE requests.
This should be able to be turned off, and maybe disabled by default?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names INDEX, GET/Show, PUT/POST, and DELETE request paths; start by tracing those request flows in the shard. Define the cache’s expiration, invalidation, force option, update behavior, and opt-in or default setting, then verify each request type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- crystal
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100