简体   繁体   中英

Cube JS doesn't fetch new records when cubeJs backend API is called

I have connected my local Database wrote schemas to fetch data and generate visualizations.

But I observed that the data is not being fetched every time I hit cube.js backend. It is not being updated. I have to restart the server every time to get the updated data. Which I feel is very inefficient and not usable in real-world applications.

Need help to make cube.js fetch the records from the database whenever an API call is made.

Thanks for the help in advance.

Okay so this was happing because of in-memory cache which is on by default in cube.js.

reference https://cube.dev/docs/caching

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM