Cache URL Query Ignore
This module improves website performance by telling Drupal's caching system to ignore certain query parameters in URLs. By treating URLs with and without these ignored parameters as the same for caching purposes, it reduces cache size and speeds up content delivery across the entire site.
Synopsis
Cache URL Query Ignore improves the performance of the URL cache context
by removing query parameters from the URL cache context key.
Cache URL Query Ignore is the sibling module of Page Cache Query Ignore,
which affects only page cache.
This module affects all usages of the URL cache context.
As an example: with the Drupal core page_cache implementation, the following
URLs will be considered different.
By setting the ignored query parameters to `gclid`, these URLs will be
considered identical by the cache and performance will be greatly improved. This
will also reduce the size of your cache.
Credits to the authors of Page Cache Query Ignore
for their solution of the query parameter problem, on which this solution is
heavily based.