ACSD-68892: Cacheable pages are not properly stored or served from the Fastly cache…
Cacheable pages are not properly stored or served from the Fastly cache, resulting in inconsistent caching behavior and reduced performance. Quality patch ACSD-68892 for magento/module-page-cache applies to Magento Open Source and Adobe Commerce 2.4.8 to 2.4.8-p5.
- Categories
- Cache
- Components
- magento/module-page-cache
- Origin
- adobe-commerce-support
- Since QPT
- 1.1.77
Issue
Cacheable pages are not properly stored or served from the Fastly cache, resulting in inconsistent caching behavior and reduced performance.
Steps to reproduce
1. Enable the Fastly cache. 1. Create a new website/store/store view. 1. Add the secondary website code to index.php: $_SERVER['MAGE_RUN_TYPE'] = 'website'; $_SERVER['MAGE_RUN_CODE'] = 'web2'; 1. Check cache control header using curl: curl -Is https://localhost/m247/pub/ | grep cache-control
Adobe's page lists 2.4.8 - 2.4.8-p3 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.
Adobe scheduled the permanent fix for 2.4.9.
Install
Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply ACSD-68892. On Cloud, add ACSD-68892 under stage.build.QUALITY_PATCHES in .magento.env.yaml.
For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its ACSD-68892/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.
Patch files and compatible versions
magento/magento2-base >=2.4.8 <2.4.9
- Patch file
- patches/os/ACSD-68892_2.4.8-p2.patch
- vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php
