Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[FrameworkBundle] no serializer mapping cache in debug mode without enable_annotations#51497
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[FrameworkBundle] no serializer mapping cache in debug mode without enable_annotations#51497
Uh oh!
There was an error while loading.Please reload this page.
Conversation
fabpot commentedAug 30, 2023
Please, keep the full header in the description. |
…nable_annotationsThere's no reason we should disable the cache only without `enable_annotations`, when working only with attributes, in debug mode the cache is enabled which is why we often need to clear cache when changing a serialized object to get the changes.
2de525a to4312e96Comparesoyuka commentedSep 13, 2023
done I guess you spoke about the commit description |
nicolas-grekas commentedSep 14, 2023
Thank you@soyuka. |
bastnic commentedNov 6, 2024
The reason is that for yaml/xml, it's ban by CachePoolClearerCacheWarmer (from apip...) from this PRhttps://github.com/symfony/symfony/pull/35109/files. With that PR, it means that all yaml/xml are parsed at each request without any change :(. |
xabbuh commentedNov 8, 2024
@bastnic comments on merged PRs are likely to get lost. Please open a new issue if you think that you discovered an issue with this implementation and provide a small example application that allows to reproduce it. |
Uh oh!
There was an error while loading.Please reload this page.
There's no reason we should disable the cache only without
enable_annotations, when working only with attributes, in debug mode the cache is enabled which is why we often need to clear cache when changing a serialized object to get the changes.