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
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:
-
Install and configure Varnish cache.
-
Create a static block with a scheduled update.
-
Create a category embedding the static block.
-
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="}
-
Run this query multiple times and make sure the response is cached in the Varnish.
-
Run the cron to apply the scheduled change.
-
Run the above GraphQL query again.
-
Create a new schedule for the same static block.
-
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:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in our support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in our support knowledge base.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.