Cloudflare\Zone\Settings::change_polish PHP Метод

change_polish() публичный Метод

Larger JPEGs are converted to progressive images, loading a lower-resolution image first and ending in a higher-resolution version. Not recommended for hi-res photography sites.
public change_polish ( string $zone_identifier, string | null $value = null )
$zone_identifier string API item identifier tag
$value string | null Value of the zone setting (default: off)
    public function change_polish($zone_identifier, $value = null)
    {
        $data = ['value' => $value];
        return $this->patch('zones/' . $zone_identifier . '/settings/polish', $data);
    }