I haven’t investigated this fully yet, so I don’t have any API ideas. I need to spend more time thinking about it, maybe building a PoC quickly. In general, I hope to be able to leverage relations and commands in a way that would make caching work automatically, based on configuration. If it turns out not to be true, we will have to introduce explicit APIs for caching and invalidation.
If you’re interested in this feature, feel free to start experimenting already and I would love to know what you can come up with.
After a quick overview of the API, we can bikeshed it a bit if neccesary and hopefully by the end of it have a clear path forward for… ROM6?
I would say let’s introduce an experimental caching feature in ROM 5.x with the goal of having a stable solution for 6.0