[Issue] Added getScopeCacheKey in order to define the right cache key based on store ID #28142
Labels
Component: Catalog
Issue: Format is not valid
Gate 1 Failed. Automatic verification of issue format is failed
Priority: P4
No current plan to fix. Fixing can be deferred as a logical part of more important work.
Progress: PR in progress
Severity: S3
Affects non-critical data or functionality and does not force users to employ a workaround.
Triage: Dev.Experience
Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Milestone
This issue is automatically created based on existing pull request: #27142: Added getScopeCacheKey in order to define the right cache key based on store ID
Description (*)
This PR adds an small improvement to the instance cache into the categories repository cause it allows to receive store id or store code for attributes data retrieval but at the same time this store id / code is used as cache key which make it a double unnecessary category load when you request the category by same given store, first providing the store id and then providing store code.
Manual testing scenarios (*)
Questions or comments
Have in mind this issue is not reproducible from REST API given it enforces to use the store ID based on the PHP Docs from the interface.
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: