RU:
Всё ради того, чтобы на каждый запрос по переходу из рекламы не формировался свой отдельный page_cage а юзался существующий
# В самом начале загрузки друпала чистит из $request->query ключи
- utm_source
- utm_medium
- utm_campaign
- utm_term
- utm_content
- gclid
- yclid
# Везде далее, в том числе и в dynamic_page_cache - кэш формируется без этих значений
# При формировании `page_cage` берётся очищенный `$request->query`
# При формировании `page_cage` к ключу добавляется значение куки `cache_context`, которая позволяет формировать разный статик кэш в зависимости от значения в этой куке, например положить туда выбранный город.
EN:
At the very beginning of loading Drupal cleans keys from `$request->query`
- utm_source
- utm_medium
- utm_campaign
- utm_term
- utm_content
- gclid
- yclid
# Everywhere further, including in dynamic_page_cache - is formed without these values
# On the forming `page_cage`, a cleared `$request->query` is taken
# On the forming `page_cage`, the cookie value `cache_context` is added to the key, which allows you to create different static cache depending on the value in this cookie, for example, put the selected city there.
Project information
- Project categories: Performance
1,046 sites report using this module
- Created by apolitsin on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.



