cancel
Showing results for 
Search instead for 
Did you mean: 

FPC for unrelated products being cleared after editing a single product

FPC for unrelated products being cleared after editing a single product

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 (*)

  1. Magento 2.3.3 & 2.3-develop

Steps to reproduce (*)

  1. Load the demo store
  2. Ensure that demo store is set to use FPC (Store > Config > System > Cahce > Full Page Cache
  3. 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)
  4. Reload all pages. TTFB should be reduced to ~150ms ish as the pages have been cached.
  5. 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
  6. 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 (*)

  1. The FPC should not be cleared for unrelated products.

Actual result (*)

  1. The cache is getting cleared as indicated by the increase in TTFB.

 

full discussion is on Github issue 25670