ÃÛ¶¹ÊÓÆµ

[PaaS only]{class="badge informative" title="Applies to ÃÛ¶¹ÊÓÆµ Commerce on Cloud projects (ÃÛ¶¹ÊÓÆµ-managed PaaS infrastructure) and on-premises projects only."}

ACSD-66952: Cache clears on each PLP or cart visit when a target rule is set

The ACSD-66952 patch fixes the issue where the cache is cleared on each PLP or cart visit, causing performance overhead when a target rule is set. This patch is available when the Quality Patches Tool (QPT) 1.1.69 is installed. The patch ID is ACSD-66952. Please note that this issue is scheduled to be fixed in ÃÛ¶¹ÊÓÆµ Commerce 2.4.9.

Affected products and versions

The patch is created for ÃÛ¶¹ÊÓÆµ Commerce version:

  • ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.7-p6

Compatible with ÃÛ¶¹ÊÓÆµ Commerce versions:

  • ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.4 - 2.4.8-p1
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your ÃÛ¶¹ÊÓÆµ Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

Issue where the cache is cleared on each PLP or cart visit, causing performance overhead when a target rule is set.

Steps to reproduce:

  1. Generate a small sample data set.

  2. Create target rule values as below:

    1. Rule information

      • Rule Name = Related Products
      • Status = Active
      • Apply to = Related Products
    2. Products to Match

      • Leave at its default value.
    3. Products to Display

      • If ALL of these conditions are true, set Product Category = Constant Value 111111
  3. Start monitoring the logs for cache invalidation requests.

  4. Visit the product page.

  5. Add a product to the cart and navigate to the cart page.

Expected results:

The application shouldn’t invalidate the cache while browsing the site.

Actual results:

Cache tags get invalidated.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3