Skip to content

Cache Doesn't invalidate #87

Closed
Closed
@hendra1

Description

@hendra1

Issue

I've run Product::find(1)
and run Product::find(2)

but the result of the query is collection of product 1
the cache doesn't invalidate automatically

In my Product.php:

`
namespace App\Models;

use GeneaLabs\LaravelModelCaching\Traits\Cachable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Product extends Model
{
use SoftDeletes, Cachable;`

Environment

Laravel Version: 5.6.3
Laravel Model Caching Package Version: 0.2.33
PHP Version: 7.2.0
Homestead Version: x.y
Operating System & Version: Ubuntu 16.0.4

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions