Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache Supabase Queries #9

Closed
whoabuddy opened this issue Nov 12, 2024 · 0 comments · Fixed by #10
Closed

Cache Supabase Queries #9

whoabuddy opened this issue Nov 12, 2024 · 0 comments · Fixed by #10

Comments

@whoabuddy
Copy link
Contributor

We should create a Durable Object for fetching Supabase data and caching it.

It'd be really cool to display stats on crew executions (see aibtcdev/aibtcdev-frontend#120) and while the data can be pulled from the database, we don't want to have every user query the info individually.

The default 15min cache ttl shouldn't need to be modified, updates maybe drop to 1 minute and test.

We can use this to fetch data for the backend or frontend as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant