final public function startResultCache($cacheTime = false, $additionalCacheID = false, $cachePath = false)
...
if ($this->arParams["CACHE_TYPE"] == "N" || ($this->arParams["CACHE_TYPE"] == "A" &&
COption::getOptionString("main", "component_cache_on", "Y") == "N"))
return true; <?$APPLICATION->IncludeComponent(
"bitrix:catalog.viewed.products",
"...",
Array(...),
$component
);?>file_put_contents($_SERVER['DOCUMENT_ROOT'] . '/debug.log', print_r(__FILE__, __LINE__, date('Y/m/d H:i:s'), 'die here'));
die('HERE');
Что посмотреть - используйте print_r($fileData);