Skip to content

Commit 40ceee0

Browse files
committed
wip
1 parent b5b7cd0 commit 40ceee0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cache.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,3 +444,13 @@ Event Name |
444444
`Illuminate\Cache\Events\CacheMissed` |
445445
`Illuminate\Cache\Events\KeyForgotten` |
446446
`Illuminate\Cache\Events\KeyWritten` |
447+
448+
To increase performance, you may disable cache events by setting the `events` configuration option to `false` for a given cache store in your application's `config/cache.php` configuration file:
449+
450+
```php
451+
'database' => [
452+
'driver' => 'database',
453+
// ...
454+
'events' => false,
455+
],
456+
```

0 commit comments

Comments
 (0)