Reputation: 882
How i cache data of active data provider query. If query run its get data from cache
return new ActiveDataProvider([
'query' => Aircraft::find()->andWhere(['owner_id' => 6, 'owner_type' => 'organization']),
]);
Upvotes: 0
Views: 200