I
I
Irek Sitdikov2016-07-08 16:37:21
1C-Bitrix
Irek Sitdikov, 2016-07-08 16:37:21

How to implement caching on your own component in Bitrix?

Construction use:

if( $this->StartResultCache($arParams['CACHE_TIME'] )

does not allow the component to work with GET parameters, how can I add them to the caching for exceptional cases of values ​​too?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Emelyanov, 2016-07-08
@sitdirek

dev.1c-bitrix.ru/api_help/main/reference/cbitrixco...
Add variables to the additionalCacheID parameter that the cache may depend on.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question