Question : Disabling Caching of Queries Laravel Model Cache
Answered by : rajesh-patadiya
$results = $myModel->disableCache()->where('field', $value)->get();
Source : http://www.lib4dev.in/info/GeneaLabs/laravel-model-caching/103836049 | Last Update : Thu, 09 Sep 21
Question : Clear Caching of Queries Laravel Specific Model Cache
Answered by : rajesh-patadiya
php artisan modelCache:clear --model=App\Model
Source : http://www.lib4dev.in/info/GeneaLabs/laravel-model-caching/103836049 | Last Update : Thu, 09 Sep 21