Home page probe fetch

Server code loads configured feed URLs, parses JSON, and renders stat cards on each home page request.

The public home page shows live probe cards by server-fetching configured HTTPS JSON feeds during Astro SSR. The browser receives HTML with numbers already resolved—no client-side CORS dance to residential IPs.

Fetch sequence

  1. Load enabled feed URLs and probe mappings for the site owner or demo account.
  2. Server HTTP GET each feed with timeout and error handling.
  3. Parse temp object per JSON schema and apply labels.
  4. Render stat cards in HTML returned to the visitor.

Failure display

Missing keys or timeout should degrade gracefully—show last error state or omit a card rather than 500 the whole page. Diagnosis: debugging stale readings.

Configuration source

Mappings come from dashboard feed settings. Upstream cache: Redis cache. Broader pipeline: data flow overview.