Laravel Redis Caching Performance is Very Slow in Laragon

avatar
Published: Dec 27, 2022 - Updated: Dec 30, 2022

Sometimes, Redis caching performance seems very slow in Laragon. The problem REDIS_HOST .env variable.

Solution

To solve the issue, just update the variable like below:

// old
REDIS_HOST=localhost

// new
REDIS_HOST=http://127.0.0.1

I hope the solution will work.