我们对Magento2的Api有一个问题,关于整个页面缓存和来自我们的ERP系统的restAPI的更新。ERP不断地通过API推送库存、库存和产品更新,进而刷新每个产品更新的缓存,导致网站始终不缓存。我们尝试包装FlushCacheByTags类,以防止rest调用刷新缓存。// is restapi request
使用catalogInventoryStockRegistry POST API:时
“消息”:“类Magento\TargetRule\Model\Catalog\Productmodule-webapi/Controller/Rest.php(265):call_user_func_array(阵列)(数组) /var/www/html/magento2/vendor/magento</em