Skip to content

FPC for unrelated products being cleared after editing a single product #25670

Closed
@gibbotronic

Description

@gibbotronic

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.
    image

  5. Edit an unrelated product on the back of the site (not present in any related products etc).
    e.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.
    image

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.

Metadata

Metadata

Assignees

Labels

Component: PageCacheIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: doneReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions