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/appenzeller/n02107908_392.jpg",
  "status": "success",
  "fetchedAt": "2025-10-21T22:52:26.101Z"
}
Happy dog sourced at request time

Rendered at: 10/21/2025, 10:52:26 PM

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