New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CACHE_ENABLED="false" is not respected when CACHE_STORE="redis" #11029
Comments
Can you try it with
instead of
? |
I believe this is a configuration problem, rather than a bug. The system cache will also rely on the configured cache driver, so make sure to set |
It would be helpful if the guide used
Instead of
So to prevent people getting tripped up like myself. Minor nit on a great system, thanks. |
Those two should be parsed the same in directus' env var casting 👍🏻 I believe my other comment is the source of your confusion 🙂 |
The redis cache should be updated when something gets added /deleted |
This behavior can be enabled via the Let's do keep comments on topic and opt to create a new discussion/question when possible. |
Preflight Checklist
Describe the Bug
I was following the docker installation guide by using the docker compose example.
However, I didn't want to use Redis. I removed the redis container and set the
CACHE_ENABLED: 'false'
.The guide states:
But I changes this to
On running the compose file, errors about the cache were presented.
To Reproduce
Copy the docker compose example from here.
Comment out these lines:
Set this environment variable to 'false':
Errors Shown
What version of Directus are you using?
directus/directus:latest (9.4.3)
What version of Node.js are you using?
Same as official the docker image
What database are you using?
Postgres
What browser are you using?
n/a
What operating system are you using?
n/a
How are you deploying Directus?
docker
The text was updated successfully, but these errors were encountered: