-
-
Notifications
You must be signed in to change notification settings - Fork 888
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
Do not disable cache in dev #2629
Conversation
Could you please explain what should be used instead? Or what are the defaults for prod/test environments? It's not clear what the end user should do from the deprecation warning. Just remove and what is the alternative? Thanks |
Yes, just remove it. The cache is enabled. There should not be a need to disable it in most cases. I'd consider that an advanced use case, so we don't need to guide you in such a case anyway. |
The question is what is the adapter used for each env: From what I have learned in previous What are the defaults now? Will api-platform use Hope it will help other people that will have the same questions ;) |
Yes.
We've always been using the However, perhaps adding a new file would require a manual |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @teohhanhui ! |
With the cache enabled, changing API resource metadata in
dev
still works without a manualcache:clear
.