Next.js Run Firebase
🔋 This Next.js app is powered by
serverless infrastructure on GCP 🔌
View the source on GitHub
Serverless Backend
Dynamic content is generated by server running on Cloud Run, a fully managed compute platform that automatically scales stateless containers. Visit /ssr and /ssr/streaming page to see the server in action.
Global CDN
Static assets are served by Firebase Hosting, a fast and secure way to host static content globally. Firebase Hosting also simplifies the process of connecting a custom domain for applications running on Cloud Run. Visit /ssg page to see a statically generated page served by Firebase Hosting.
Incremental Cache
Next.js cache handler is implemented with Firebase Realtime Database, persisting cached pages and data to reduce server workloads by fulfilling requests from cached content when possible. Visit /isr/time and /isr/demand pages to conditionally cached pages using incremental static regeneration.