Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Cloud CDN
  • Getting started
    • Service overview
    • 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
  • Audit Trails events
  • Release notes
  • Troubleshooting
  1. Concepts
  2. Exchanging data between clients and the CDN
  3. Content compression

Compressing content

Written by
Yandex Cloud
Updated at January 25, 2023

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. The compressed content is sent only if the client request has an HTTP header indicating GZIP support: Accept-Encoding: gzip. Otherwise, an uncompressed file is sent.

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 value of the Content-Type HTTP header 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
Yandex project
© 2025 Yandex.Cloud LLC