Skip to content

Commit f5b59d9

Browse files
authored
Mention Octane
Fixes spatie#2827
1 parent 71e62a6 commit f5b59d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/advanced-usage/cache.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ php artisan permission:cache-reset
4646
```
4747
(This command is effectively an alias for `artisan cache:forget spatie.permission.cache` but respects the package config as well.)
4848

49+
## Octane cache reset
50+
In many cases Octane will not need additional cache resets; however, if you find that cache results are stale or crossing over between requests, you can force a cache flush upon every Octane reset cycle by editing the `/config/permission.php` and setting `register_octane_reset_listener` to true.
51+
4952
## Cache Configuration Settings
5053

5154
This package allows you to customize cache-related operations via its config file. In most cases the defaults are fine; however, in a multitenancy situation you may wish to do some cache-prefix overrides when switching tenants. See below for more details.

0 commit comments

Comments
 (0)