Redis Cache in Laravel

Viewed 22

I have a client that wants to NOT write redis cache on a redis setup server on some functions in the application. Client wants a specific function to write cache on a different cache driver (APC Cache driver). Is that possible? I already made the code to write the cache in APC but when I run redis-cli monitor it still shows up that the certain function still writes on redis. How can I achieve this?

I am using laravel 6 by the way. This is the setup client gaves me, and below are the configuration in .env that is the configuration I must not change.

BROADCAST_DRIVER=log
CACHE_DRIVER=redis
QUEUE_CONNECTION=redis
QUEUE_FAILED_DRIVER=redis
SESSION_DRIVER=redis
SESSION_LIFETIME=1440
0 Answers
Related