ACSD-56193: Fastly cache is not cleared for content staging update

The ACSD-56193 patch fixes the issue where the Fastly cache is not cleared for content staging update. This patch is available when the Quality Patches Tool (QPT) 1.1.44 is installed. The patch ID is ACSD-56193. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.7.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.2-p2

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.2 - 2.4.4
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe 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

The Fastly/Varnish cache is not cleared for content staging update

Steps to reproduce:

  1. Install and configure Varnish cache.

  2. Create a static block with a scheduled update.

  3. Create a category embedding the static block.

  4. Fetch the content of the category using the below GraphQL query:

    code language-graphql
       query GetCategories($id: String!) {
          categoryList(filters: { category_uid: { eq: $id } })
        {
            meta_title
            meta_keywords
            meta_description
            description
            path
            cms_block {
              content
              identifier
              title
              __typename
            }
            __typename
        }
      }
      {"id":"Mwo="}
    
  5. Run this query multiple times and make sure the response is cached in the Varnish.

  6. Run the cron to apply the scheduled change.

  7. Run the above GraphQL query again.

  8. Create a new schedule for the same static block.

  9. Repeat the steps numbered 5-9.

Expected results:

The updated content is returned after the scheduled updates run.

Actual results:

The outdated content is returned after the scheduled updates run.

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:

For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a