php - Magento _afterSave method? -


i working magento , developing module in model using mage_catalog_model_abstract save action. in save action saw there method called _aftersave() , inside method call $this->cleanmodelcache();

the last call goes down zend_cache_backend_file in _clean() method.

in model saving simple data product sku.

why magento using $this->cleanmodelcache()? not loading execution time since in var/cache there can lot of cached files metadata?

is recommended or better use _aftersave() method or override own method , ignore cleanmodelcache() ?


Comments