Repository navigation
v1.1.0 - Related Cache Invalidation
π What's New
β¨ Related Model Cache Invalidation
New feature: automatically invalidate cache of related models when a model changes!
class Video extends Model
{
use HasSmartCache;
public static function invalidatesSmartCacheOf(): array
{
return [Notification::class];
}
}