getQueryParams(); } else { $GET = []; } $GET['id'] = $pageId; $queryString = HttpUtility::buildQueryString($GET, '&'); $cHashArray = $cacheHashCalculator->getRelevantParameters($queryString); // By exploding the earlier imploded array, we get the flat array with URL params $urlParameters = GeneralUtility::explodeUrl2Array($queryString); $paramsToExclude = array_keys( array_diff_assoc( $urlParameters, $cHashArray ) ); return array_diff($paramsToExclude, $additionalCanonicalizedUrlParameters); } }