V
V
Vladimir2021-03-16 08:25:22
1C-Bitrix
Vladimir, 2021-03-16 08:25:22

How to make sure that the composite cache is not reset due to frequently changing meta tags in the html code of the page?

Hello.
There is a site on Bitrix with the included composite. With the following settings:
60503cca3172c703027613.png
60503cf7b7006858607430.png

In the site template in the head.php file, the method for displaying keyword meta tags

<?$APPLICATION->ShowMeta("keywords")?>


On the index.php site page, I call the method for setting these keywords
$APPLICATION->SetPageProperty( "keywords", "online pharmacy, ".$dataCity['name']);
$dataCity['name'] - variable value changes

dynamically the value of $dataCity['name'] changes - often the composite cache is overwritten due to the changed html code of the page.
How to make it so that the composite cache would not be reset?

ps

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question