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/terrier-yorkshire/n02094433_2223.jpg",
"status": "success",
"fetchedAt": "2026-06-11T00:10:22.360Z"
}
Rendered at: 6/11/2026, 12:10:22 AM
Refresh the page to trigger a new Cloud Function invocation and fetch another photo.