Ponystudio Edge Delivery
A small, boring content-delivery layer for teams that ship documentation faster than they ship dashboards. Everything here is served from a single origin, cached at the edge, and measured in milliseconds.
What this service does
Ponystudio Edge Delivery sits between your origin storage and your readers. It terminates TLS, normalises cache headers, rewrites stale asset URLs, and hands the response to the nearest edge location. There is no build pipeline to babysit and no vendor SDK to pin — a plain HTTP client is enough.
Deterministic caching
Assets are keyed on content hash, so a deploy either hits the cache exactly or misses it entirely. No partially-stale pages.
Origin shielding
Only edge nodes talk to the origin. The origin accepts traffic from a published address list and nothing else.
Boring auth
Bearer tokens, scoped per project, rotated on a 90-day schedule. No custom signing ceremony.
Quick start
Fetch a page through the edge:
curl -sS -H "Authorization: Bearer $PONY_TOKEN" \
https://docs.ponystudio.cn/v1/pages/getting-started \
-o getting-started.html
Upload a new revision:
curl -sS -X PUT https://docs.ponystudio.cn/v1/pages/getting-started \
-H "Authorization: Bearer $PONY_TOKEN" \
-H "Content-Type: text/html" \
--data-binary @getting-started.html
A successful write returns 202 Accepted with a revision identifier. Edge nodes converge within roughly twelve seconds; the response header x-pony-propagated reports how many nodes have picked up the revision so far.
Design constraints
- Every response is either cacheable or explicitly marked
no-store. There is no middle state to reason about. - Origin reads are single-flight: concurrent misses for the same key collapse into one upstream request.
- Latency budget is 120 ms p95 at the edge, measured against a 50 KB payload.
- The control plane never appears in the data path. If it is down, reads and writes continue for 30 minutes on cached authorisation.
Status
Current release: v2.4.1 (2026-11-19). The service is in general availability across four regions. See the changelog for the recent TLS and connection-reuse work.