Skip to content

Caching support? #396

Open
Open
@madeleineostoja

Description

@madeleineostoja

Feature request

Is your feature request related to a problem? Please describe.

Currently the Supabase JS client feels like a simple wrapper around fetch and postgrest. Notably it doesn't provide anything in the way of caching of data to reduce requests to the server on repeated queries, and patchy network support. This is in contrast to Firebase which provides all of this out of the box.

Describe the solution you'd like

Bake caching into supabase-js so it's performant and robust by default, ideally with optimistic mutation support as well

Describe alternatives you've considered

BYO querying layer that supports caching and eager mutations, like react-query. Adds an extra layer of abstraction and complexity onto the client.

Additional context

N/A

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions