Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Create request caching service #280

Open
0 of 1 issue completed
Open
0 of 1 issue completed
@ethanwlee

Description

@ethanwlee

This request caching service will be used to:

  1. make requests to url
  2. return cached data for url
  3. request new data from backend at url
  4. update cache for url

callers of this will get two responses, like a stream of data where the first response is the cached response and the second response is the network response

perhaps using this as a custom hook similar to https://tanstack.com/query/latest

Sub-issues

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions