R
R
run1822020-11-20 13:47:46
1C-Bitrix
run182, 2020-11-20 13:47:46

How does the CACHE_TYPE parameter work in terms of the API?

For many components, you can specify the CACHE_TYPE parameter, but nowhere in the core files - neither in the component, nor in the infoblock module, nor in the caching module, did I find this parameter, especially that it would affect something.

Where is the caching logic implemented depending on the value of this Y or A parameter?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
smilingcheater, 2020-11-20
@smilingcheater

'A' - automatically, i.e. taken from the settings of the main module. There it is enabled - it is used, it is disabled there - it is not used.
'Y' - cache is always used

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question