How to Enable GZIP Compression for Vultr CDN Push Zones

Updated on April 3, 2025

GZIP Compression in Vultr CDN Push Zones reduces the size of your content before it is delivered to users. By compressing your data, this feature enhances the efficiency of data transfer, leading to faster load times and improved overall site performance. Enabling GZIP compression helps optimize bandwidth usage and ensures a quicker, more responsive experience for your users.

Follow this guide to enable the GZIP compression feature for Vultr CDN Push Zones on your Vultr account using the Vultr Customer Portal, API, or CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products, click CDN, and then click Push Zones.
  2. Click your target CDN Push Zone subscription to open its management page.
  3. Click Features.
  4. Select gzip and click Update Features.
  1. Send a GET request to the List CDN Push Zones endpoint and note the target Push Zone subscription's ID.

    console
    $ curl "https://api.vultr.com/v2/cdns/push-zones" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a PUT request to the Update CDN Push Zone endpoint to enable gzip compression feature for your target Push Zone subscription.

    console
    $ curl "https://api.vultr.com/v2/cdns/push-zones/{pushzone-id}" \
        -X PUT \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        --data '{
            "gzip": true
        }'
    
  1. List all available CDN Push Zone subscriptions and note the target Push Zone subscription's ID.

    console
    $ vultr-cli cdn push list
    
  2. Enable gzip compression feature for your target Push Zone subscription.

    console
    $ vultr-cli cdn push update <pushzone-id> --gzip
    

Comments

No comments yet.