Global edge networking diagram demonstrating CNAME DNS setup, edge TLS propagation, and TTFB latency benchmark across 8 worldwide cities

Serving public media, application downloads, and web assets directly from an object storage bucket eliminates web application server overhead. But exposing raw cloud provider bucket URLs (like <code>my-app-assets.s3.us-east-1.amazonaws.com</code>) looks unprofessional, leaks internal storage architecture, and subjects your business to steep egress bandwidth bills.

The solution is attaching a branded custom domain (e.g. <code>assets.yourbrand.com</code>) with automated edge SSL/TLS encryption. We configured a public bucket with a custom CNAME, tracked edge TLS certificate issuance timing, and benchmarked global Time to First Byte (TTFB) latency across eight worldwide test points.

Global TTFB benchmark across 8 edge locations

To measure global response speeds, we requested a 120 KB production web asset (<code>app-bundle.js</code>) via automated curl probes terminated across eight geographically distributed data centers:

Test locationEdge POPDNS lookupTLS 1.3 handshakeEdge cached TTFBOrigin cold TTFBProtocol negotiated
Frankfurt, GermanyFRA4.2 ms11.4 ms18.2 ms88.5 msHTTP/3 (QUIC)
London, United KingdomLHR3.8 ms12.1 ms21.6 ms92.1 msHTTP/3 (QUIC)
New York, United StatesEWR5.1 ms14.8 ms25.8 ms84.2 msHTTP/3 (QUIC)
San Jose, United StatesSJC6.2 ms16.5 ms33.7 ms95.8 msHTTP/3 (QUIC)
SingaporeSIN8.4 ms18.2 ms38.4 ms104.3 msHTTP/3 (QUIC)
Tokyo, JapanNRT7.9 ms19.4 ms41.9 ms108.6 msHTTP/3 (QUIC)
Sydney, AustraliaSYD12.1 ms24.6 ms57.8 ms128.4 msHTTP/3 (QUIC)
São Paulo, BrazilGRU14.5 ms29.8 ms74.2 ms142.1 msHTTP/3 (QUIC)

Across all locations, the <b>average edge-cached TTFB was 38.9 milliseconds</b>. By terminating the TLS handshake at the local edge Anycast node rather than hauling requests across the ocean to an origin storage server, initial latency was cut by 63% on cold passes and over 80% on warm requests.

Certificate propagation and issuance timing

When creating a custom domain CNAME pointing to an edge-accelerated public bucket, automated certificate management issues a valid TLS certificate for your hostname via Let's Encrypt / Google Trust Services. During our timed deployment:

  • T+0s: CNAME record created in DNS (assets.example.com CNAME public-bucket.tport.space).
  • T+18s: Domain ownership validated via edge HTTP-01 challenge.
  • T+34s: Edge TLS certificate generated and signed.
  • T+42s: Worldwide propagation confirmed; curl -I https://assets.example.com answered with valid TLS 1.3 encryption across all 8 regions.

Step-by-step setup guide

Setting up a custom domain on a tport.space public bucket requires three simple steps:

Step 1: Create a public bucket
Create your bucket in the tport.space console or via API, and toggle Public Access ON. Note your bucket's public hostname (e.g. brand-media.tport.space).

Step 2: Add the CNAME record in your DNS provider
In Cloudflare, AWS Route 53, or Namecheap, create a CNAME record pointing your desired subdomain to the bucket hostname. If using Cloudflare DNS, set Proxy status to DNS-Only (Grey Cloud) during initial certificate issuance:

text
Type:   CNAME
Name:   assets
Target: brand-media.tport.space
TTL:    Auto (or 300)

Step 3: Verify the HTTPS handshake
Use curl with timing flags to verify certificate issuance, protocol negotiation, and TTFB:

bash
curl -w "DNS: %{time_namelookup}s | TLS: %{time_appconnect}s | TTFB: %{time_starttransfer}s | Total: %{time_total}s\n" \
  -o /dev/null -s -I https://assets.example.com/logo.svg

Essential HTTP headers for public bucket assets

When uploading static files to your public bucket, always specify <code>Cache-Control</code> and CORS headers. Setting immutable cache headers ensures edge networks and user browsers cache assets locally, eliminating repeat round-trips entirely:

bash
aws s3 cp ./dist/ s3://brand-media/ \
  --endpoint-url https://s3.tport.space \
  --recursive \
  --cache-control "public, max-age=31536000, immutable" \
  --metadata "Access-Control-Allow-Origin=*"

For downloadable documents (such as invoices or PDFs), pass <code>Content-Disposition: inline</code> or <code>attachment; filename="doc.pdf"</code> to control browser preview versus download behaviors. Review our complete tests on <a href="https://tport.space/articles/static-site-from-bucket-index-404-cache-headers-tested">bucket static site hosting and cache headers</a>.