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 location | Edge POP | DNS lookup | TLS 1.3 handshake | Edge cached TTFB | Origin cold TTFB | Protocol negotiated |
|---|---|---|---|---|---|---|
| Frankfurt, Germany | FRA | 4.2 ms | 11.4 ms | 18.2 ms | 88.5 ms | HTTP/3 (QUIC) |
| London, United Kingdom | LHR | 3.8 ms | 12.1 ms | 21.6 ms | 92.1 ms | HTTP/3 (QUIC) |
| New York, United States | EWR | 5.1 ms | 14.8 ms | 25.8 ms | 84.2 ms | HTTP/3 (QUIC) |
| San Jose, United States | SJC | 6.2 ms | 16.5 ms | 33.7 ms | 95.8 ms | HTTP/3 (QUIC) |
| Singapore | SIN | 8.4 ms | 18.2 ms | 38.4 ms | 104.3 ms | HTTP/3 (QUIC) |
| Tokyo, Japan | NRT | 7.9 ms | 19.4 ms | 41.9 ms | 108.6 ms | HTTP/3 (QUIC) |
| Sydney, Australia | SYD | 12.1 ms | 24.6 ms | 57.8 ms | 128.4 ms | HTTP/3 (QUIC) |
| São Paulo, Brazil | GRU | 14.5 ms | 29.8 ms | 74.2 ms | 142.1 ms | HTTP/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.comanswered 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:
Step 3: Verify the HTTPS handshake
Use curl with timing flags to verify certificate issuance, protocol negotiation, and TTFB:
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:
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>.