I am learning laravel eloquent in Laravel 5.6.
I have already used database query builder & cache.
Retrieve & Store for Database
There is a built-in method for this:
App\User::where(['id' => 1])->cache()
I hope this helps, although a year later.