Skip to content

Complex products children ids are not cached in Type class leading to multiple unnecessary db requests #30585

Closed
@PierreLeMaguer

Description

@PierreLeMaguer

Description

in the product page, the method 'getChildrenIds' is called several times and each time we make an SQL request to get this info.
For example juno-jacket.html with the sample data, the method of the configurable type is called 20 times.

The problem
The result of this method is not stored in a cache to avoid to make useless request.

benefits
We earn time by making a cache and storing the results instead of making SQL requests.

Related pull request closed due to inactivity: #23910

Metadata

Metadata

Assignees

Labels

Issue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentIssue: ready for confirmationPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S1Affects critical data or functionality and forces users to employ a workaround.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions