Drupal is a registered trademark of Dries Buytaert
Entity Reference Display 2.0.6 Minor update available for module entity_reference_display (2.0.6). SmartDuo Breadcrumb 2.1.0 Minor update available for module sd_breadcrumb (2.1.0). SmartDuo Breadcrumb 1.1.9 Minor update available for module sd_breadcrumb (1.1.9). Date Point 1.6.2 Minor update available for module date_point (1.6.2). CKEditor 5 Spoiler 1.2.0 Minor update available for module ckeditor5_spoiler (1.2.0). SDC Components 1.0.9 Minor update available for module sdc_components (1.0.9). REST Entity Display 2.0.2 Minor update available for module rest_entity_display (2.0.2). SDC Components 1.0.8 Minor update available for module sdc_components (1.0.8). Purge Module purge crossed 1,000 active installs. Entity Events 2.1.0 Module entity_events updated after 13 months of inactivity (2.1.0).

Increase internal page cache efficiency by removing URL query parameters coming from Facebook (fbclick), Google (utm_source, utm_medium,
utm_campaign), and any other parameter that can be ignored by Drupal.

This allows internal page cache to store less items, and avoid generating responses for different requests
that internally are handled by the same page controller and parameters.

Examples:

- https://example.com/node/1?utm_source=ad1 becomes https://example.com/node/1
- https://example.com/search?query=Findme&fbclick=111234322 becomes https://example.com/search?query=Findme

LIMITATIONS

If you use external page cache like Varnish, and have administrative access to its settings, it is better to remove unneeded parameters there, and avoid hitting Drupal
site completely. See this page https://www.getpagespeed.com/server-setup/varnish/strip-query-parameters... for
the reference.

If you use external page cache, but don't have administrative access to it, it is recommended to keep internal page cache on
and have non-null storage on it, i.e. do NOT uncomment this line in settings.php:

//$settings['cache']['bins']['page'] = 'cache.backend.null'

INSTALLATION

- composer require drupal/request_cleanup

Then enable module either from UI or drush.

CONFIGURATION

By default, module removes the following parameters:

- fbclick
- utm_campaign
- utm_source
- utm_medium

To override this list, add to settings.php this snippet:

$settings['request_cleanup.get'] = ['fbclick', 'utm_source', 'utm_medium', 'utm_campaign', 'yourparameter'];

Activity

Total releases
2
First release
Jul 2026
Latest release
5 hours ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
2.0.0 Stable Jul 22, 2026
2.x-dev Dev Jul 22, 2026