Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Mailchimp 3.1.5 Minor update available for module mailchimp (3.1.5). Release: Commerce Shipping 3.0.5 Minor update available for module commerce_shipping (3.0.5). Release: GoogleTag Manager 2.0.1 Minor update available for module gtm (2.0.1). Usage Milestone: Easy Breadcrumb Module easy_breadcrumb crossed 100,000 active installs. Release: MCP Sentinel 2.17.0 Minor update available for module mcp_sentinel (2.17.0). Release: Commerce ML Exchange 2.0.1 Minor update available for module cmlexchange (2.0.1). Release: Commerce ML Exchange 2.0.0 Major update available for module cmlexchange (2.0.0). Release: SynImport 2.0.0 Major update available for module synimport (2.0.0). Release: Contact ajax 3.0.0 Major update available for module contact_ajax (3.0.0). Module Revived: Contextual Filter from Referer 1.0.2 Module contextual_filter_referer updated after 22 months of inactivity (1.0.2).

Cache Alter

Security covered Drupal 11 · not 10
View on drupal.org

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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2026
Latest release
3 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
3.0.0 Stable 11 Sep 10, 2026