Skip to content

Indexer cronjobs flushes all category and product pages in FPC / Varnish #29806

Closed
@dverkade

Description

@dverkade

Preconditions

  1. Magento 2.3.5-p1
  2. Have Varnish configured as full page cache.
  3. Have the Magento cronjob scheduled to run every minute.
  4. Have the indexers all set to "Update on schedule"
  5. Have Varnish configured to monitor / log incoming cache purge requests

Steps to reproduce

  1. Have an indexer, for instance the "Category Products" index, set to "Index required"
  2. Let the cronjob run every minute which will try to update the invalid indexes

Expected result

  1. When the cron updating the indexes runs and it can't set the index to "Ready", don't flush the FPC for category and product pages.

Actual result

  1. Magento sends a purge request to Varnish with the following tags: "cat_p" and "cat_c". This flushes all the category pages and product pages which are in the FPC, basically flushing the FPC every minute.
  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

Component: CacheIssue: needs updateAdditional information is require, waiting for responseReported on 2.3.5-p1Indicates original Magento version for the Issue report.Severity: S1Affects critical data or functionality and forces users to employ a workaround.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions