Skip to content

Commit 8ba6635

Browse files
committed
Review README contents as hinted by community
1 parent 2bafa53 commit 8ba6635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ As of writing, several Laravel cache drivers do not have automatic removal of ex
1818
### Why is it a problem?
1919
Using any of the above cache drivers without regularly removing the expired items (aka "key eviction" in Redis) can result in storage overload, especially when you are creating a lot of temporary items with random keys.
2020

21-
The `cache:clear` command from Laravel works, but might not be the thing you want. It does not check item expiry (it removes everything), and also clears the Laravel framework cache (e.g. `/bootstrap/cache/*`), which can be especially problematic when you are using the `file` cache driver (consider a case: cache items are created by the `www-data` user but `/bootstrap/cache/*` is owned by the `ubuntu` user).
21+
The `cache:clear` command from Laravel works, but might not be the thing you want. It does not check item expiry (it removes everything), and also removes cached Laravel facades in `/storage/framework/cache/`, which can be especially problematic when you are using the `file` cache driver (consider a case: cache items are created by the `www-data` user but `/storage/framework/cache/*` is owned by the `ubuntu` user).
2222

2323
In this case, this tool can help you remove only the expired items in your cache. See below sections for more details.
2424

0 commit comments

Comments
 (0)