-
Notifications
You must be signed in to change notification settings - Fork 9.4k
24025 add caching for magento product version #24030
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
24025 add caching for magento product version #24030
Conversation
Hi @davidverholen. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
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.
@davidverholen Please fix failing tests. :)
@torhoehn do you have an idea why the database compare build fails? Results seem to be all green but still the check is failing |
@davidverholen It's just a problem with the infrastructure. Seems okay for me. :) |
Hi @torhoehn, thank you for the review.
|
Hi @davidverholen, thank you for your contribution! |
Test coverage was added in #26001 |
fixes #24025
Description (*)
add caching for product version, to not utilize composer runtime on every request to the magento product version.
While this method is called rarely in the core, many 3rd party extensions rely on it to determine the magento version. This leads to many "real" projects having >100ms added to non cached requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)