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/pomeranian/n02112018_5840.jpg",
"status": "success",
"fetchedAt": "2025-12-07T09:24:11.905Z"
}
Rendered at: 12/7/2025, 9:24:11 AM
Refresh the page to trigger a new Cloud Function invocation and fetch another photo.