Answer the question
In order to leave comments, you need to log in
How to get updated information with caching enabled every time a page is accessed?
Hi all!
Tell me how to get updated information correctly when accessing a page with caching enabled?
1. There is an element ib;
2. There is HL;
HL stores files uploaded by the user related to the ib element. In result_modifier.php I get info from HL. On the ib element page, you need to update information about uploaded files.
Tell me how to do it right and where to start?
Answer the question
In order to leave comments, you need to log in
Much depends on the design layout.
If the layout visually allows, move the code from result_modifier.php to the detail.php file of the bitrix:news complex component template (or to a similar file if you use bitrix:catalog). This file is not cached.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question