MEDIA NODE DOCUMENTATION

● ACTIVE | 02/20/2025 14:32:19 UTC
Node ID: Node-CH-05 Edge: global-edge-02 Last Check: 2025-02-20 14:32:19 UTC

CDN Asset Delivery

Content Delivery Network for static asset distribution. Edge caching, TTL policies, and compression optimization for global performance.

Cache Configuration

Edge Caching

Enabled — Per-path cache policies

TTL Policy

Default: 1 hour | Max: 1 month | Dynamic: per-header

Compression

Gzip / Brotli enabled | Auto-detect accept-encoding

Cache Purge Operations

Purge individual assets or entire path patterns. Use X-Cache-Control headers for granular TTL settings.

// Purge asset from edge cache
curl -X POST https://media.ventocloud.online/v1/cdn/purge -H "X-API-Key: sk_live_a1b2c3d4e5f6"
-H "X-Asset-Path: /assets/images/logo.png"
-H "X-Purge-Reason: cache_refresh"
// Response: { "status": "purged", "edges_cleared": 47, "purge_id": "purge_7f8a9b0c" }

Response Headers

Header Description
Cache-Control Max-Age, s-maxage, and private directives
X-Cache-Status HIT, MISS, or BYPASS
Content-Encoding gzip or br (Brotli)
Note: Purged assets will not be available until re-synchronized from origin. Allow 1-5 minutes for propagation.