N
N
Nubbb2021-07-26 16:07:34
Laravel
Nubbb, 2021-07-26 16:07:34

Why is Redis not seeing the cache in Laravel?

Good afternoon!

installed predis package

'redis' => [
            'client' => env('REDIS_CLIENT', 'predis'),
            'default' => [
                'host' => env('REDIS_HOST', '127.0.0.1'),
                'password' => env('REDIS_PASSWORD', null),
                'port' => env('REDIS_PORT', 6379),
                'database' => env('REDIS_DB', 0),
            ],
            'cache' => [
                'host' => env('REDIS_HOST', '127.0.0.1'),
                'password' => env('REDIS_PASSWORD', null),
                'port' => env('REDIS_PORT', 6379),
                'database' => env('REDIS_CACHE_DB', 1),
            ],
        ],


installed laravel telescope

but for some reason redis does not see the data in the cache

gives

60feb395b972d386985802.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2021-07-26
@alexey-m-ukolov

This tab shows requests to Redis made since Telescope was installed, not the contents of the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question