Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
Yandex Cloud CDN
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Resources
      • Creating a resource
      • Editing basic settings of a resource
      • Configuring resource caching
      • Configuring log export
      • Pre-loading files to CDN servers
      • Purging resource cache
      • Configuring request and response headers
      • Configuring CORS for responses to clients
      • Configuring HTTP methods
      • Enabling file compression
      • Enabling file segmentation
      • Enabling origin shielding
      • Disabling a resource
      • Deleting a resource
    • Origin groups
      • Creating an origin group
      • Editing an origin group
      • Connecting an origin group to a resource
      • Deleting an origin group
  • Practical guidelines
    • All practical guidelines
    • Publishing game updates
    • Integrating an L7 load balancer with the CDN and Object Storage
    • Blue-green and canary deployment of service versions
  • Concepts
    • Service overview
    • Resource
    • Origins and origin groups
    • Exchanging data between clients and the CDN
      • Overview
      • TLS certificates
      • CORS
      • Compressing content
    • Exchanging data between the CDN and origins
      • Overview
      • Host header
      • Content segmentation
      • Origin shielding
    • Caching content
    • Exporting logs
    • Quotas and limits
  • Access management
  • Troubleshooting
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • CacheService
      • OriginGroupService
      • OriginService
      • ProviderService
      • RawLogsService
      • ResourceService
      • OperationService
    • REST
      • Overview
      • Cache
        • Overview
        • prefetch
        • purge
      • OriginGroup
        • Overview
        • create
        • delete
        • get
        • list
        • update
      • Origin
        • Overview
        • create
        • delete
        • get
        • list
        • update
      • Provider
        • Overview
        • activate
        • listActivated
      • RawLogs
        • Overview
        • activate
        • deactivate
        • get
        • update
      • Resource
        • Overview
        • create
        • delete
        • get
        • getProviderCName
        • list
        • update
  • Pricing policy
  1. Concepts
  2. Exchanging data between the CDN and origins
  3. Content segmentation

Content segmentation

Written by
Yandex Cloud

    You can segment CDN content: request it from origins and store it on servers in parts. Segmentation is enabled in the resource settings.

    If the setting is enabled:

    • Files with a size of 10 MB or more are requested from origins in parts. The maximum size of each part is 10 MB.

      For example, a 42 MB file will be split into four 10 MB parts and one 2 MB part.

      All parts are requested in parallel, each in its own thread. This lets you download the entire file and start sending it to the client faster.

      Warning

      For segmentation to work correctly, origins must support partial GET requests with the Range header. Regardless of a group's origin that a file part is requested from, responses carrying this part must have the same values of the Content-Length and ETag headers.

    • To send a whole file to the client, all the parts are combined back into one file before sending.

    • If caching on CDN servers is enabled, the file parts will continue to be stored on the server.

    See also

    • Instructions for enabling file segmentation.

    Was the article helpful?

    Language / Region
    Yandex project
    © 2023 Yandex.Cloud LLC