Index of every page on this site: llms.txt
All skills
proyecto26 avatar

/content-delivery

@228d57d
Run it yourself

This skill should be used when the user asks about a "CDN", "edge caching", "static asset delivery", "media / video delivery", "geo distribution of content" or "edge POP selection", "push vs pull CDN", "cache-control headers" / "TTL for static assets", "origin offload", or "origin shield". It gives the recipe for serving bytes from the edge close to users. Use it whenever a design serves images, video, JS/CSS, or downloads to a wide geography, or the origin is saturated by repeat reads of the same files, even if the user doesn't say "CDN".

Use this Skill: https://skilld.dev/gh/proyecto26/system-design-skills/content-delivery

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesprovidersgeneric.md

≈576 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Content delivery — generic / self-hosted

The vendor-neutral default. When no cloud is named, this is the answer.

What to run

  • A commercial CDN (Cloudflare, Akamai, Fastly) — the usual choice; a global PoP network you configure, not operate. Pull by default; most support push, shields, signed URLs, edge compute, and stale-while-revalidate.
  • Self-hosted edge cache (Varnish, NGINX proxy_cache, Apache Traffic Server) — reverse-proxy caches you run in a few regions yourself. Use when you need full control, on-prem, or a private edge — but you own PoP placement, scaling, TLS, and routing. This is a regional reverse-proxy cache, not a global CDN.

Topology

  • Pull: edge ← (optional shield) ← origin (object store or app server). Set Cache-Control/s-maxage at the origin; edges obey it.
  • Push: build pipeline uploads to CDN storage; URLs rewritten to the CDN domain.
  • Routing: anycast or DNS geo-routing sends each user to the nearest healthy edge (mechanics in load-balancing).
  • Shield: one regional mid-tier cache in front of the origin collapses edge misses into a single origin fetch.

Limits / things that bite

  • Cache key is the lever: unbounded query params or cookies in the key drop hit rate toward zero — whitelist params, strip cookies on static paths, mind Vary.
  • Purge propagation is not instant across global PoPs (seconds to minutes); prefer versioned/fingerprinted URLs over purge for freshness.
  • Self-hosted Varnish/NGINX caches in RAM/disk per node — sized per box, no global anycast unless you build it; an eviction loses that node's working set.
  • Egress is the cost line that dominates; a hot uncacheable path bleeds it.

Pitfalls

  • Treating a single-region Varnish box as a CDN — it has no global proximity.
  • No origin fallback when the edge/CDN is down (the edge is now a dependency).
  • One giant TTL → synchronized expiry stampede; add jitter / stale-while-revalidate.
  • Forgetting the origin must survive a global cold-cache pull (use a shield).

Operationally lightest with a commercial CDN (zero PoP ops, pay per egress); self-hosted edge gives control and no per-egress vendor bill but you build the global footprint, routing, and resilience yourself.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts24d3 checks · Risk SAFE
  • Gen Agent Trust Hub24d

    The skill is a comprehensive architectural guide for designing Content Delivery Networks (CDNs). It consists solely of technical documentation and does not contain any executable code, external scripts, or malicious patterns.

  • Socket24d

    No alerts

  • Snyk24d

    Risk: LOW · No issues

Signed by skilld at 228d57d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 4 weeks ago

README badge

README badge for proyecto26/system-design-skills/content-delivery