cube icon indicating copy to clipboard operation
cube copied to clipboard

feat(client-core): cache mode for load method

Open hannosgit opened this issue 1 month ago • 3 comments

According to the documentation it is possible to specify the cache mode for the load method of the REST API.

However, the JavaScript client does not support specifying the cache mode right now.

It would be nice to have this option for 1.5 and also for 1.4

hannosgit avatar Oct 30 '25 12:10 hannosgit

However, the JavaScript client does not support specifying the cache mode right now.

Hm, I was under impression that it was added in this commit: https://github.com/cube-js/cube/commit/98976e06872c12efb7c43f900492d99c8f07bc72

igorlukanin avatar Oct 30 '25 13:10 igorlukanin

However, the JavaScript client does not support specifying the cache mode right now.

Hm, I was under impression that it was added in this commit: 98976e0

No, it only added the option for the cube SQL endpoint

hannosgit avatar Oct 30 '25 13:10 hannosgit

If you are interested in working on this issue, please go ahead and provide PR for that. We'd be happy to review it and merge it. If this is the first time you are contributing a Pull Request to Cube, please check our contribution guidelines. You can also post any questions while contributing in the #contributors channel in the Cube Slack.

github-actions[bot] avatar Oct 30 '25 14:10 github-actions[bot]