Is it possible to cache data on ->each() and ->batch() methods?
This cache syntax always returns fresh data:
$models = Model::find()->cache(20);
foreach($models->each() as $m)
{
....
}
Is there any way to cache data and use ->each() & ->batch() methods?