-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
EAV Config Cache #2993
EAV Config Cache #2993
Conversation
…lacing several DB queries per request with a single cache entry
@luigifab It's mostly done, there is maybe one or two small improvements but they may break stuff so I will hold off on them for now. |
Thanks! I applied, and for now, I have, (I haven't investigated yet, I will do):
|
|
After some minors adjustments I think this is ready for testing by someone else than me. I've already started testing it in a real shop (staging environment only so far) without any issues. |
…or non-existent attributes
… attributes loaded at all times), rewrite product compare to use eav/config
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.
since we're releasing a "rc1" version, if we don't do this now...
I forgot some comments ago: before this PR, you can
|
I found a new bug (perhaps it's only me, perhaps this is other PR that I also use... I don't searched yet).
I have (with OpenMage 20.1.0-rc1 and PHP 8.2):
|
I will create a follow-up PR for the non-existent attribute, that's definitely a bug and will cause problems. I will take a look at the other problem after that, but I can't reproduce it just yet. |
i can confirm the Exception( It happens with OpenMage 20.1.0-rc1 and PHP 8.0 as well as PHP 8.1. Didn't test 8.2 yet. |
Okay, I figured out the reason. It's because |
This PR requires revision because it introduced two issues that we reported today. IT is possible that find more. |
…orrectly pre-filtered for the layered navigation
…orrectly pre-filtered for the layered navigation
…nger sorted correctly by attribute group order in attribute comparison
…orted correctly by attribute group order in attribute comparison (#4064)
…ly pre-filtered for the layered navigation (#4063)
Description (*)
Cache EAV entity and attributes as well as complementary data like store labels and attribute set information. This will eliminate several database queries per request and replace them with a single cache request.
Related Pull Requests
#532 similar PR (likely abandoned) with some similarities
Manual testing scenarios (*)
TBD, probably lots in addition to tests