/!\Pointed out the question tags 1C-Bitrix and Caching, if the question does not apply to the second tag please remove it.
The question aims to find approaches to the development of bitrix with intelligent cache management, so no need to restrict answers to a specific task.
There is an online shop on bitrix in this directory. With the withdrawal of the directory partition is called a component, which inside calls another, so it comes to conclusion of the specific products(to display the html of each item is called a component catalog.item). I write all this to make it clear which component is inside the other along the chain, thus cakeservers dynamic data above is the component in which they are queried from the database.
In particular, there are self-written parser library for displaying 'likes' on the goods (code here, although the question has nothing to do - blog.ivru.net/?id=49
So when you click on the like request goes to api changes the Statute of Laika(set shot), but when reloading page, the directory information is not displayed as output the cache of the upstream component and to request information in the file result-modifier.php the component catalog.item just don't get it.
Then a moment, to actually reset the cache, I can file which takes ajax to change the status. For example BXClearCache(true, "/s1/bitrix/catalog.section/"); (tested working), only this will clean the cache of the entire catalog.section including other users whose information could continue to load from the cache.
Interested in the following questions:
1) is it possible to obtain in the process the name of the cache file from which you originally loaded the page? Then I would just remove this file.
2) are there any mechanisms to control the cache component is linked to the user?(I mean if user session is suddenly enough to manage it in its cache, then in the ajax request I have to pass the address of the cache file, if all you need is in session).