Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI Studio
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud CDN
  • Getting started
    • Overview
    • Providers
    • Resource
    • Origins and origin groups
      • Overview
      • TLS certificates
      • CORS
      • Content compression
    • Redirecting requests
    • Content caching
    • Secure tokens
    • IP-based access policy
    • Log export
    • Labels
    • Quotas and limits
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics for the EdgeCDN provider
  • Monitoring metrics for the Yandex Cloud CDN provider
  • Audit Trails events
  • Release notes
  • Troubleshooting
  1. Concepts
  2. Data exchange between clients and the CDN
  3. Content compression

Content compression

Written by
Yandex Cloud
Updated at July 9, 2025

You can transmit content from CDN servers to clients in a compressed format. You can enable compression in the resource settings.

GZIP compression is used. Content is sent in compressed form only if the client's request contains an HTTP header indicating gzip support: Accept-Encoding: gzip. Otherwise, an uncompressed file is sent.

Enabling content compression also helps avoid the situation where compressed files are delivered to users who had not requested compressed content. For more information, see Troubleshooting in Cloud CDN.

Files of the following MIME types can be compressed:

  • application/javascript
  • application/json
  • application/x-javascript
  • application/xml
  • application/xml+rss
  • image/svg+xml
  • text/css
  • text/html
  • text/javascript
  • text/plain
  • text/xml

The MIME type is determined by the Content-Type HTTP header value in the origin's response to the CDN server request.

See alsoSee also

  • Instructions for enabling file compression.

Was the article helpful?

Previous
CORS
Next
Overview
© 2025 Direct Cursus Technology L.L.C.