Server-side Rendering (SSR)

Every visit to this page triggers getServerData(). Gatsby Firebase adapter executes that handler in a Cloud Function, fetches fresh data from Dog CEO, and streams the HTML response back through Firebase Hosting.

{
  "dogUrl": "https://images.dog.ceo/breeds/deerhound-scottish/n02092002_9863.jpg",
  "status": "success",
  "fetchedAt": "2026-04-24T01:41:16.156Z"
}
Happy dog sourced at request time

Rendered at: 4/24/2026, 1:41:16 AM

Refresh the page to trigger a new Cloud Function invocation and fetch another photo.