magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.55k stars 9.32k forks source link

GraphQl Products result is not cached #39173

Closed m08110071 closed 4 weeks ago

m08110071 commented 1 month ago

Preconditions and environment

Steps to reproduce

Expected result

At the second time, cache data should be return

Actual result

products query result was not cached

Additional information

Missing define \Magento\GraphQlResolverCache\Model\Resolver\Result\ResolverIdentityClassProvider::$cacheableResolverClassNameIdentityMap for products

It is same issue for many queries: categories, ...

Release note

No response

Triage and priority

m2-assistant[bot] commented 1 month ago

Hi @m08110071. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

m2-assistant[bot] commented 1 month ago

Hi @engcom-Hotel. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Hotel commented 1 month ago

Hello @m08110071,

Thanks for the report and collaboration!

We have tried to reproduce the issue in the latest released version i.e. 2.4.7-p2 and for us the issue is not reproducible. Please have a look at the below screenshots for reference:

The first request took around 496ms: image

The second request took around 238ms: image

The second request was served from the cache. Please let us know if we missed anything.

Thanks

engcom-Hotel commented 4 weeks ago

Dear @m08110071,

We've observed that there haven't been any updates on this issue for quite some time. Therefore, we're assuming it's been resolved and will be closing it. Feel free to open a new ticket or reopen this one if you require further assistance.

Regards