Dear Magento community,
FPC for unrelated products is being cleared after editing a single product. There already is a Github discussion which shows the problem perfectly, however my client success manager advised me to create a ticket so that the Magento developers can take a look.
Preconditions (*)
- Magento 2.3.3 & 2.3-develop
Steps to reproduce (*)
- Load the demo store
- Ensure that demo store is set to use FPC (Store > Config > System > Cahce > Full Page Cache
- Load some product pages on the front end eg in Chrome. (Use the network tab in the browser inspector to note load time - TTFB should be ~700+ms ish)
- Reload all pages. TTFB should be reduced to ~150ms ish as the pages have been cached.
- Edit an unrelated product on the back of the site (not present in any related products etc).
g.You can move product from first category to second - Reload all front end pages one at a time. Note that the TTFB has now gone back up to ~700+ms indicating a clearing of cache, even though the only modified item was an unrelated product.
Note: This also applies to home page, categories etc.
Expected result (*)
- The FPC should not be cleared for unrelated products.
Actual result (*)
- The cache is getting cleared as indicated by the increase in TTFB.
full discussion is on Github issue 25670