Views: 525 (Data available since 06.02.2017)
Last Modified: 12.09.2014

Do not forget that the managed cache of infoblocks is cleared only if CIBlockElement::Update is called. For example, if properties are changed using CIBlockElement::SetPropertyValueCode, cache will not be cleared. After using CIBlockElement::SetPropertyValueCode() the following code shall be executed:

if(defined('BX_COMP_MANAGED_CACHE'))
   $GLOBALS['CACHE_MANAGER']->ClearByTag('iblock_id_'.$arParams['IBLOCK_ID']);



Courses developed by «Bitrix», Inc.