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/retriever-curly/n02099429_2756.jpg",
"status": "success",
"fetchedAt": "2026-02-23T11:25:36.873Z"
}
Rendered at: 2/23/2026, 11:25:36 AM
Refresh the page to trigger a new Cloud Function invocation and fetch another photo.