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/spaniel-japanese/n02085782_2293.jpg",
"status": "success",
"fetchedAt": "2026-07-26T03:17:12.066Z"
}
Rendered at: 7/26/2026, 3:17:12 AM
Refresh the page to trigger a new Cloud Function invocation and fetch another photo.