Hi Team,
I have enabled Redis cache with Neos and flow by following the below article:
https://www.flownative.com/en/documentation/guides/beach/how-to-use-redis-for-caching-for-neos-and-flow.html
Instead of hard-coding the hostname and password in Redis Caches.yaml , I used dotenv connector to pass those values from environment variables:
After setting up all the things, Unfortunately, Neos start giving errors of typecast in the background as shown below:
I’ll be working with Neos v8.0.0. It would be much appreciated if you tell me what is the cause of it and how to fix this problem.
mficzel
(Martin Ficzel)
2
You can add a type hint to env variables:
Neos_Fusion_Content:
backendOptions:
hostname: '%env(string):REDIS_HOST%'
password: '%env(string):REDIS_PASSWORD%'
see: Configuration — Flow Framework 8.3.x documentation … i think this feature was introduced in 8.1
1 Like
Thanks, @mficzel for your information.
I’m going to upgrade my current Neos version to 8.3.3.