-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
Preconditions and environment
- Magento 2.4.6
- We have found that since updating to Magento 2.4.6 we are getting complete cache invalidations if a product changes to out of stock or if a product is edited in admin.
Steps to reproduce
The below issues have been found on a production site as well as a clean Magento install with sample data.
Issue 1 (product changes to out of stock):
If a shipment is created for the last available qty of a product making the product out of stock the complete site cache is invalidated.
Issue 2(Change to a product created in admin):
If any change is made to a product in admin such as change to product title or description then this also completely invalidates all cache site wide.
Expected result
Cache to be invalidated only for the product and the categories containing that product.
Actual result
Complete cache invalidation
Additional information
It is a huge inconvenience and not practical if you are running a site with many categories and 10's of thousands of products to have all cache invalidated just because a single product goes out of stock or a single product is edited.
Release note
No response
Triage and priority
- 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”.