In the original 5.0 roadmap there was a discussion about implementing a caching API. Although it’s not on the current roadmap for rom5, I think discussing the public interface / implementation would be a great way to get the ball rolling on this feature. At AdHawk, ROM has been incredibly beneficial for us but we are sorely missing a nice mechanism for caching. Would love to help however I can.
@solnic what do you envision as the user facing API for this feature? Personally I believe this is the most important piece of the puzzle that has not been solved well by ActiveRecord. It always felt clunky to drop down to low-level caching and relying on cache_key
to do the magic. Having a blank slate, I’m excited to hear your thoughts on a caching API, I imagine it will be an incredibly powerful selling point to using ROM.
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?
Cheers,
Ian