{"data":{"id":"magento2-38270","source":"github-pr","sourceRef":"magento/magento2#38270","title":"Duplicate cache fpc for same page with same query","pr":{"number":38270,"url":"https://github.com/magento/magento2/pull/38270","author":"rogerdz","mergedAt":"2025-04-25T14:52:43Z","mergeCommit":"2f5b3d57dd8339f87e876e7b2039a4b934877f0a","headCommit":"1bfa69bf176bb0d2afe5af65445f86544eaf1134","baseRef":"2.4-develop","diffSha256":"65b8484ca4f9008f003212e3eb7307aabb897cb06261a1ec456fe09c762f30a4"},"issues":[{"number":38269,"url":"https://github.com/magento/magento2/issues/38269","title":"Duplicate cache fpc for same page with same query","labels":["Area: Catalog","Component: Cache","Component: Framework/Cache","Issue: Confirmed","Priority: P2","Progress: PR in progress","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x"],"kind":"human"}],"fixedIn":"2.4.9","containingTags":["2.4.9"],"reportedOn":null,"codeMatch":{"2.4.6":"file-missing","2.4.6-p1":"file-missing","2.4.6-p2":"file-missing","2.4.6-p3":"file-missing","2.4.6-p4":"file-missing","2.4.6-p5":"file-missing","2.4.6-p6":"file-missing","2.4.6-p7":"file-missing","2.4.6-p8":"file-missing","2.4.6-p9":"file-missing","2.4.6-p10":"file-missing","2.4.6-p11":"file-missing","2.4.6-p12":"file-missing","2.4.6-p13":"file-missing","2.4.6-p14":"file-missing","2.4.6-p15":"file-missing","2.4.7":"conflict","2.4.7-p1":"conflict","2.4.7-p2":"conflict","2.4.7-p3":"conflict","2.4.7-p4":"conflict","2.4.7-p5":"conflict","2.4.7-p6":"conflict","2.4.7-p7":"conflict","2.4.7-p8":"conflict","2.4.7-p9":"conflict","2.4.7-p10":"conflict","2.4.8":"clean","2.4.8-p1":"clean","2.4.8-p2":"clean","2.4.8-p3":"clean","2.4.8-p4":"clean","2.4.8-p5":"clean","2.4.9":"conflict"},"affectedVersions":["2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5"],"components":["magento/framework","magento/module-page-cache"],"files":[{"path":"app/code/Magento/PageCache/Model/App/Request/Http/IdentifierForSave.php","change":"modified","package":"magento/module-page-cache"},{"path":"lib/internal/Magento/Framework/App/PageCache/Identifier.php","change":"modified","package":"magento/framework"}],"stripped":{"tests":["app/code/Magento/PageCache/Test/Unit/Model/App/Request/Http/IdentifierForSaveTest.php","lib/internal/Magento/Framework/App/Test/Unit/PageCache/IdentifierTest.php"],"docs":[],"outsideCode":[]},"linesChanged":56,"mergeBatched":true,"excluded":null,"sections":{"description":"https://magento2.test/gear/bags.html?style_bags=24&activity=8 and https://magento2.test/gear/bags.html?activity=8&style_bags=24 and https://magento2.test/gear/bags.html?activity=8&style_bags=24& use difference fpc identifier  => increase page cache folder size","stepsToReproduce":"1. Clear cache: bin/magento cache:clean\n2. Run command: curl -I --location-trusted 'https://magento2.test/gear/bags.html?activity=8&style_bags=24' | grep -i X-Magento-Cache-Debug, it will return x-magento-cache-debug: MISS => correct\n3. Run command: curl -I --location-trusted 'https://magento2.test/gear/bags.html?activity=8&style_bags=24' | grep -i X-Magento-Cache-Debug, it will return x-magento-cache-debug: HIT => correct \n4. Run command: curl -I --location-trusted 'https://magento2.test/gear/bags.html?style_bags=24&activity=8' | grep -i X-Magento-Cache-Debug => it return x-magento-cache-debug: MISS => wrong\n5. Run command: curl -I --location-trusted 'https://magento2.test/gear/bags.html?activity=8&style_bags=24&' | grep -i X-Magento-Cache-Debug => it return x-magento-cache-debug: MISS => wrong","expectedResult":"https://magento2.test/gear/bags.html?style_bags=24&activity=8 and https://magento2.test/gear/bags.html?activity=8&style_bags=24 and https://magento2.test/gear/bags.html?activity=8&style_bags=24& use same fpc","actualResult":"https://magento2.test/gear/bags.html?style_bags=24&activity=8 and https://magento2.test/gear/bags.html?activity=8&style_bags=24 and https://magento2.test/gear/bags.html?activity=8&style_bags=24& use difference fpc identifier  => increase page cache folder size","source":"issue"},"signatures":[],"labels":{"area":["Catalog"],"component":["Cache","Framework/Cache"],"priority":"P2","severity":null,"reportedOn":["2.4.x"]},"categories":["Cache","Catalog/Product"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"635249286c48fb898f9e8339eccca09657380a8553107398ef9d17f9fa2231e3","isBugfix":0.9749,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9597,"feature":0.0064,"refactor":0.0188,"tests_only":0.0081,"docs_only":0.0032,"dependency":0.0038},"confidence":0.9058},"scope":{"score":0.7619,"probabilities":{"0":0.4154,"1":0.4073,"2":0.1773},"confidence":0.0548},"risk":{"score":0.5945,"probabilities":{"0":0.4539,"1":0.4976,"2":0.0485},"confidence":0.184},"area":{"choice":"framework","probabilities":{"catalog":0.0165,"checkout":0.0025,"customer":0.002,"admin":0.0028,"graphql_api":0.0017,"framework":0.958,"frontend":0.0083,"other":0.0082},"confidence":0.9066},"securityRelevant":0.0056,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0103,"2.4.0-p1":0.0056,"2.4.1":0.0038,"2.4.1-p1":0.004,"2.4.2":0.0052,"2.4.2-p1":0.0054,"2.4.2-p2":0.0076,"2.4.3":0.0109,"2.4.3-p1":0.0089,"2.4.3-p2":0.0087,"2.4.3-p3":0.0067,"2.4.4":0.013,"2.4.4-p1":0.0092,"2.4.4-p10":0.0064,"2.4.4-p11":0.0083,"2.4.4-p12":0.0069,"2.4.4-p13":0.0062,"2.4.4-p14":0.0079,"2.4.4-p15":0.0061,"2.4.4-p16":0.0067,"2.4.4-p17":0.0057,"2.4.4-p18":0.0057,"2.4.4-p2":0.0036,"2.4.4-p3":0.0044,"2.4.4-p4":0.0047,"2.4.4-p5":0.0055,"2.4.4-p6":0.005,"2.4.4-p7":0.0055,"2.4.4-p8":0.0055,"2.4.4-p9":0.0043,"2.4.5":0.0081,"2.4.5-p1":0.0078,"2.4.5-p10":0.0056,"2.4.5-p11":0.0075,"2.4.5-p12":0.0073,"2.4.5-p13":0.0061,"2.4.5-p14":0.0068,"2.4.5-p15":0.0069,"2.4.5-p16":0.0066,"2.4.5-p17":0.0056,"2.4.5-p2":0.0042,"2.4.5-p3":0.0049,"2.4.5-p4":0.0063,"2.4.5-p5":0.0059,"2.4.5-p6":0.006,"2.4.5-p7":0.0061,"2.4.5-p8":0.0051,"2.4.5-p9":0.0034,"2.4.6":0.0104,"2.4.6-p1":0.0101,"2.4.6-p10":0.0065,"2.4.6-p11":0.008,"2.4.6-p12":0.0079,"2.4.6-p13":0.0071,"2.4.6-p14":0.0069,"2.4.6-p15":0.0056,"2.4.6-p2":0.0043,"2.4.6-p3":0.0065,"2.4.6-p4":0.0075,"2.4.6-p5":0.007,"2.4.6-p6":0.0065,"2.4.6-p7":0.0072,"2.4.6-p8":0.0053,"2.4.6-p9":0.0037,"2.4.7":0.007,"2.4.7-p1":0.007,"2.4.7-p10":0.0065,"2.4.7-p2":0.007,"2.4.7-p3":0.0091,"2.4.7-p4":0.011,"2.4.7-p5":0.0088,"2.4.7-p6":0.0109,"2.4.7-p7":0.0091,"2.4.7-p8":0.0067,"2.4.7-p9":0.0046,"2.4.8":0.0076,"2.4.8-p1":0.0082,"2.4.8-p2":0.0094,"2.4.8-p3":0.0105,"2.4.8-p4":0.0097,"2.4.8-p5":0.0087,"2.4.9":0.0098,"unspecified":0.43},"confidence":0.1793},"backportWorthy":{"score":1.4266,"probabilities":{"0":0.1496,"1":0.2742,"2":0.5762},"confidence":0.1443}},"curated":null,"tests":{"2.4.8-p5":{"before":"fail","after":"pass","adapted":false,"runAt":"2026-10-06T09:20:07.729Z","releaseCommit":"870a22c63d9d9b68fa3297962e2d5d5841115814","suites":{"unit":{"before":"fail","after":"pass","runAt":"2026-10-06T09:20:07.729Z"}}}}},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-38270 details"}