cancel
Showing results for 
Search instead for 
Did you mean: 

extra generated cache images when a product is saved in admin

extra generated cache images when a product is saved in admin

When saving a product in admin, extra images are generated in pub/media/catalog/product/cache.

the sizes are coming from the view.xml file defined in the luma and blank themes in the vendor core folder.

How I can  avoid those extra images generated in the cache folder?

I'm using magento 2.1.7 C.E with a custom theme with diferent image sizes in the view.xml file, the problem is present in develop and production modes.

This is a big problem for stores with more than 10.000 products, a lot of unneeded cache images are generated.