How can I determine all existing cache keys in a project built with Laravel framework?
Asked
Active
Viewed 2,487 times
1
-
Possible duplicate of [How to get list of all cached items by key in Laravel 5?](http://stackoverflow.com/questions/31791178/how-to-get-list-of-all-cached-items-by-key-in-laravel-5) – jszobody Mar 14 '16 at 21:32
-
which cache drive are you using? – Can Celik Mar 14 '16 at 22:32
-
@CanCelik File Cache. – Amr Mar 15 '16 at 01:46
-
This worked for me. http://stackoverflow.com/a/31791530/2951316 – Can Celik Mar 15 '16 at 19:48
1 Answers
1
There is a no way to do this via Laravel Cache library. But you can try to get the keys directly from the cache storage (filesystem, memcached, etc.)
-
1There is a no way via the Laravel Cache library... But you can do this directly from the storage service/files. – zsolt.k Mar 14 '16 at 22:52