🇫🇷France floriane
I had this problem with my controller's module, which took the cache value instead of the url one (i'm using Drupal 10)
I solved the problem with #cache and max-age to 0:
$address = $request->query->get('adresse');
return [
'#address' => $address,
'#cache' => [
'max-age' => 0,
],
];