-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Feature: CLI cache warmup after cache:flush / cache:clean (optional HTTP GET) #40636
Copy link
Copy link
Open
Labels
Progress: ready for groomingReported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.feature request
Description
Preconditions
Magento 2.4+ with Magento_Backend enabled.
Steps
- Configure optional warmup URLs under Stores > Configuration > Advanced > Developer > CLI Cache Warmup (or leave empty to use storefront base URL).
- Run
bin/magento cache:flush --warmuporbin/magento cache:clean --warmup, or standalonebin/magento cache:warmup.
Expected
After flush/clean, CLI can optionally perform HTTP GET requests to warm full-page cache (FPC) without requiring a third-party module or preferences.
Actual (before change)
No core option; merchants rely on custom code or external tools to warm caches after cache:flush / cache:clean.
Suggested approach
Implement in Magento_Backend:
--warmup/-woncache:flushandcache:clean- New
cache:warmupcommand - Admin configuration for URLs and HTTP timeout
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Progress: ready for groomingReported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.feature request
Type
Projects
Status
No status