Image Optimization & WebP
Last updated
Was this helpful?
Last updated
Was this helpful?
This setting is available in small, large, dynamic(aksela) and streaming resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
****-****-****-****
****-****-****-****
true
****-****-****-****
This parameter is used for compressing image files in API requests. Users can specify which types of images will be compressed through this parameter.
["image/png","image/jpeg","gif"]
Enable or disable image optimization for a resource. This setting is available in small and dynamic(aksela) resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
UUID of the resource
Enable or disable image optimization for the resource.
This setting is available in small and dynamic(aksela) resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
Enable or disable WebP optimization for the resource.
true
UUID of the resource.
****-****-****-****
Enable or update Gzip compression settings for a specific resource in the CDN. This setting is available in small, large and dynamic(aksela) resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
The UUID of the organization.
The UUID of the resource.
This setting is available in small, large and dynamic(aksela) resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
****-****-****-****
****-****-****-****
true
****-****-****-****