Cloudflare\Zone\Settings::change_sort_query_string_for_cache PHP Method

change_sort_query_string_for_cache() public method

Change Enable Query String Sort setting (permission needed: #zone_settings:edit) CloudFlare will treat files with the same query strings as the same file in cache, regardless of the order of the query strings. This is limited to Enterprise Zones.
public change_sort_query_string_for_cache ( string $zone_identifier, string | null $value = null )
$zone_identifier string API item identifier tag
$value string | null Value of the zone setting (default: on)
    public function change_sort_query_string_for_cache($zone_identifier, $value = null)
    {
        $data = ['value' => $value];
        return $this->patch('zones/' . $zone_identifier . '/settings/sort_query_string_for_cache', $data);
    }