A
A
Askfortrue2021-11-13 12:31:45
1C-Bitrix
Askfortrue, 2021-11-13 12:31:45

Caching and passing data inside a complex component?

Hello!
Then the question arose, I have data transferred inside one complex component, and not just from one to another, but from one to the second, and then to the one inside it, it turns out to be transferred 2 times.
I tried accordingly, but, they are not transferred from the first reboot, you reset the cache and everything is fine.
It seems that on the working browser it began to load and transfer information between the components as expected, opened another browser and no, it does not transfer, and so on, then opened another computer at all and does not transfer.
I think it should be loaded into the cache or is it still a so-so idea to transfer it 2 times?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PetrPo, 2021-11-13
@Askfortrue

or all the same 2 times to transfer this so-so idea?

You can see for yourself that it's a trick. In general, putting a component in a component (in a cacheable area) is wrong.
If you pass the value through the component parameters, it will work, but will not get rid of other cache problems

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question