Get help from the marimo community

Updated 3 weeks ago

IDEA: timed cache checkbox in SQL cells

It'd be nice to have to have a checkbox in SQL cells for caching with perhaps a timer (e.g 1 hr, 1 day, 7 weeks) where an expensive SQL query will not be executed within that time window if a cache entry exist for it - perhaps it doesn't encourage best practices (probably moving expensive queries to a data warehouse) but i could see it being useful in some instances
M
l
3 comments
We do plan to add per-cell caching using the caching infrastructure. This would work with sql. It would not be hard to add a TTL as well
I would not be surprised if this exists already for the SQL libraries
I imagine this being more of a marimo feature, not sure the main SQL python libraries support it
Add a reply
Sign up and join the conversation on Discord