sminnee

Right now it’s pre-caching an array copy of something before a <% loop %> call.

However, it might be worth extending this to incorporate it into <% if %> calls as well

silbinarywolf

and you're just being explicit about the data you're using across different domains of your app

silbinarywolf

so you can have the nice ORM + that deprecated cache

silbinarywolf

so the ORIGINAL idea, was if you're in a ->cache() DataList, it basically works like DataObject::get_one()

silbinarywolf

Yeah actually, the idea has changed in my head over time, and I didnt realize its just come back to this.

sminnee

although, if we were to include this, I’d probably call it toArrayList() rather than cache()

sminnee

i’m also wary of bloating the APIs with “hey maybe this’ll be good” kind of methods.