Configuring data exchange between clients and the CDN
Written by
Updated at April 25, 2024
When a client requests through your service a file published via Cloud CDN, an HTTP or HTTPS connection is established between the client and the CDN load balancer, depending on the URI scheme: http://cdn.example.com/styles/common.css
or https://cdn.example.com/styles/common.css
.
Only a CDN resource with the Active
status can distribute the content available to users. For more information, see Resource statuses.
For connections between clients and the CDN, you can configure:
- A client's redirect from HTTP to HTTPS or vice versa (see the instructions).
- Using certificates for HTTPS connections.
- HTTP headers in CDN server responses to clients (see instructions).
- CORS processing of cross-domain requests.
- HTTP methods that clients are allowed to use in their CDN requests (see the instructions).
- Sending of compressed content using the
Content-Encoding: gzip
HTTP header.
For a resource in Cloud CDN, you can specify additional settings provided by EdgeCenter, a CDN provider. For a complete description of its features, see the CDN provider's API documentation