Replies: 2 comments
-
Hi @Prokos |
Beta Was this translation helpful? Give feedback.
-
@CobusT thanks for the reply! Yeah, I suppose that works :) also running Ideally I was hoping for a way to invalidate the cache from the client side, so the app code could determine whether a data source needs to be invalidated or not. Something like passing a Anyway, I see a path forward if this proved to be truly important to us, thanks 👍 |
Beta Was this translation helpful? Give feedback.
-
Hi!
I just started messing around with Observable Framework, but quickly ran into an issue. I'm trying to implement a graph that gives me real-time data directly queried from BigQuery which updates every x seconds. Something like this:
It seems like I cannot use a data loader like this, because they are cached at build time and so will not update even if I load it more than once.
However, the proposed solution I found elsewhere is to simply not use a data loader but do it in the notebook directly. This is not possible because the BigQuery library does not function in the browser.
Is this something that's simply impossible within the framework design unless I figure out a different way (maybe some in between API) to query BigQuery? Or is there for example some way to invalidate data loader cache during run time (and thus having the server regenerate the data source on-demand, or run/serve it directly)
Beta Was this translation helpful? Give feedback.
All reactions