Behind edge ✓host verge.run.placeproto httpscdn-loop vergcloud-staging; count=1

Panel setup → hit playground route → see result → iterate

CDN Playground lab index

A deterministic Next.js origin for testing Verge CDN behavior. Point a CDN hostname at this app, change settings in the Verge panel, then run the probes below to see edge vs origin results.

Setup checklist

  1. Deploy this app to a stable public origin URL.
  2. Create an empty Verge test domain pointing at the origin; wait until active.
  3. Run /setup to apply staged packs (baseline → cache), or configure the panel manually.
  4. Open labs through the CDN hostname (banner shows edge ✓).
echoready

Inspect what the origin received

Dump headers, IP, URL and timing to distinguish edge vs direct origin hits.

Open labecho-inspect
cacheready

Short edge TTL

Cacheable JSON with s-maxage=60. First hit MISS, second hit HIT at edge.

Open labcache-edge-ttl
cacheready

Immutable static asset

Long-lived fingerprinted asset under /assets with immutable cache-control.

Open labcache-immutable
cacheready

no-store bypass

Personalized endpoint that must never be cached at the edge.

Open labcache-no-store
cacheready

Purge invalidation

Warm a stable cacheable URL, purge it in the panel, confirm the next fetch is a MISS with a new nonce.

Open labcache-purge
firewallready

Allow-listed fixture

Benign path that WAF rules must let through with origin JSON intact.

Open labfirewall-allow
firewallready

Block probe path

Suspicious probe that a firewall rule should stop at the edge.

Open labfirewall-block-path
wafready

WAF protect mode probes

Classic SQLi/XSS-shaped queries should be blocked at the edge when WAF is in protect mode.

Open labwaf-protect-probe
custom-pagesready

Firewall block custom page

Edge firewall_error page replaces the default block for denied requests. Direct origin /status/403 keeps its fingerprint as a passthrough control.

Open labcustom-403
custom-pagesready

Origin 404 passthrough control

The custom-pages API has no 404 key. /status/404 stays an origin fingerprint control so you can contrast real edge custom pages.

Open labcustom-404
custom-pagesready

error_500 via upstream timeout

error_500 is edge-generated. Quick setup sets 1s read_timeout on /api/origin/upstream-hang*; origin /status/502 stays a passthrough control.

Open labcustom-502
rate-limitready

Rate-limit canary

Cheap ping endpoint; send N requests and count 200 vs 429.

Open labrate-limit-ping
ddosready

DDoS challenge

Capped soft burst against a ping fixture. Observe challenge pages/cookies.

Open labddos-challenge
ddosready

DDoS passthrough bypass

Passthrough DDoS rule for /api/origin/ddos/bypass* so cookie mode does not challenge that path.

Open labddos-bypass
listsready

List-backed UA deny

Bytes list playgroundlabua + firewall deny when User-Agent matches on /api/origin/lists/probe.

Open lablists-ua-deny
load-balancersready

Playground lab load balancer

Create playground-lab LB + pool pointing at the Test Origin; page-rule routes /api/origin/page-rules/lb* through it.

Open labload-balancer-lab
health-checksready

Active health check on lab pool

Attach playground-lab-hc to the playground-lab pool probing HTTP /api/health.

Open labhealth-check-lab
dnsready

DNS Records Load Balancer lab

Create cloud A cdn-test-dns-lb with ip_filter_mode multi/weighted (two weighted values). Does not mutate apex @.

Open labdns-records-lb
advanced-load-balancersready

Advanced load balancer lab

Create playground-alb ALB with managed DNS A playground-alb and a primary pool origin from the zone A record.

Open labadvanced-load-balancer-lab
tlsready

HTTPS / HSTS observation

Check scheme, HSTS headers, HTTP→HTTPS redirects, and mixed-content fixture through the edge.

Open labtls-https
analyticspartial

Labeled traffic generator

Generate N hits to unique tagged paths, then find them in analytics.

Open labanalytics-tagged
redirectsready

Page-rule redirect

Edge 301/302 from /api/origin/redirect/source to the target fingerprint.

Open labredirect-page-rule
page-rulesready

URL rewrite

Edge rewrites /rewrite/old to /rewrite/new without a client redirect.

Open labpage-rule-rewrite
page-rulesready

Weight / first match

Two overlapping globs — higher seq wins; only that rule’s settings apply.

Open labpage-rule-priority
page-rulesready

Origin request header

Page rule injects a request header that the origin echoes back.

Open labpage-rule-req-headers
page-rulesready

User response header

Page rule adds an edge response marker on the res-headers probe path.

Open labpage-rule-res-headers
page-rulesready

Page-rule redirect (hub)

Exclusive redirect action on the page-rules lab source path (also covered in /lab/redirects).

Open labpage-rule-redirect
page-rulesready

Page-rule Boost minify

Acceleration css+js on /assets/page-rules/boost/* — Content-Length should drop.

Open labpage-rule-boost
page-rulesready

Page-rule image resize

image_resize on with query-string cache; ?width=64&height=64 shrinks the PNG.

Open labpage-rule-image-resize
page-rulesready

Custom host header

change_host_header_for_cname_records sends playground-pr-host.test to origin.

Open labpage-rule-host
page-rulesready

Upstream timeout

read_timeout 1s vs origin sleep 2.5s — edge should fail before the body returns.

Open labpage-rule-timeout
page-rulesready

Cache by device type

Separate mobile/desktop caches — warm mobile then desktop should miss.

Open labpage-rule-device-cache
page-rulesready

Load balancer attach

Attach an existing domain load balancer to /api/origin/page-rules/lb* (skipped if none).

Open labpage-rule-lb
corsready

Transform Rules CORS headers

Origin omits CORS; Transform Rules should inject Access-Control-* on matching paths.

Open labcors-transform
headersready

Add / hide response headers

Page-rule adds an edge marker and hides the origin hide-me header while keeping the baseline.

Open labheaders-add-hide
boostready

Boost minify & image resize

Measure verbose CSS/JS and image fixtures; enable Boost and compare Content-Length / resized dimensions.

Open labboost-minify-resize
secure-linkready

Secure link signed URLs

Build md5+expires tokens locally from the page-rule secret; valid links return the asset, expired/invalid hit custom pages.

Open labsecure-link-tokens
edge-functionsready

Edge Function smoke

Origin fallback fingerprint vs edge function body when a route is attached in the panel.

Open labedge-fn-smoke
/lab/cache
Cache lab
HIT/MISS, TTL, purge checklist
/lab/firewall
Firewall lab
Allow vs block fixtures
/lab/waf
WAF lab
Protect-mode probe shapes
/lab/custom-pages
Custom pages
error_500 + edge page suite
/lab/rate-limit
Rate limit
429 canary with N-request sender
/lab/ddos
DDoS lab
Challenge canary
/lab/page-rules
Page Rules
Rewrite, weight, boost, resize, host, timeout…
/lab/redirects
Redirects
Page-rule 301/302 + Location
/lab/cors
CORS / Transform
Access-Control-* headers
/lab/headers
Headers
Add / hide response headers
/lab/boost
Boost
Minify, compress, image resize
/lab/secure-link
Secure link
Signed md5+expires URLs
/lab/tls
TLS lab
HTTPS, HSTS, mixed-content
/lab/edge-functions
Edge Functions
Function vs origin smoke
/lab/analytics
Analytics
Tagged traffic generator