Original: https://codingcat.dev/post/firebase-2025-08-apphosting-august-update
App Hosting has faster deployments, route-based monitoring, and improved CI/CD setupmarks an important milestone for full-stack web and AI engineers building on Firebase and Google Cloud. Following the official announcement by Jeff Huleatt on theFirebase Blog(2025-08-25), this hands-on CodingCat.dev implementation guide breaks down how to adopt these capabilities in modern TypeScript, Next.js, SvelteKit, React, and Angular applications. We’re excited to share some recent updates to App Hosting that make it an even better platform for your full-stack web apps! Since our last update (which included more ways to deploy), we’ve:
Why App Hosting has faster deployments, route-based monitoring, and improved CI/CD setup Matters for Full-Stack Web Developers
When evaluating every new Firebase release for our production web apps and Google Developer Expert (GDE) architecture reviews, the first question is always how it improves developer velocity, runtime security, and end-user latency in the browser and on the server.We’re excited to share some recent updates to App Hosting that make it an even better platform for your full-stack web apps!
Since ourlast update(which included more ways to deploy), we’ve:
- Made deployments faster by optimizing how apps are built
- Enhanced the monitoring dashboard to provide deeper insights into specific parts of your app
- Added GitHub connection management to the Firebase console, so you have the flexibility to set up CI/CD after your first deployment
Faster deployments
Your App Hosting deployments are getting faster. We’re rolling out a series of optimizations to the build pipeline, and the first is now live. The Next.js adapter for App Hosting now creates smaller containers for your server by optimizing which files are included in the deployment. This means the app binary that gets deployed is lighter weight and takes less time to upload and download.
Our internal monitoring suggests this change has made builds*30% faster for customers*on average. This is just the first of many steps toward our goal of dramatically reducing deployment time on App Hosting.
Route-based monitoring
The App Hosting dashboard in the Firebase console has stats for your whole app, both on the Overview and Usage tabs:
These stats, which are based on metrics reported from Cloud CDN and Cloud Run, can give a great overview of the general health and performance of a web app. But some parts of an app are much more important than others, and that’s where route-based monitoring comes in. This new feature allows you to specify up to 20 routes in your app that are important to you, and shows metrics specific to each.
There are a variety of metrics designed to answer important questions about each route:
- Requests: “How popular is this route?”
- Errors: “Does my site work?”
- Latency: “Do users have to wait a long time for my server-rendered pages to load?”
- CDN cache hit rate: “How can I reduce latency and cost?”
For example, thecheckout/*route of an e-commerce app is business-critical. If it starts showing elevated error rates, you can tell at a glance.
For product pages, you’d likely focus more on the CDN cache hit rate and latency metrics to make sure that shoppers can view new items quickly, and at minimal cost to you.
The requests to your backend can even serve as a basic analytics tool to understand your customer behavior based on requests to your backend without the need to add any additional scripts to your website. In the example above,shop/computers/*is about equal withshop/action-figures/*, but if one suddenly jumps above the other after a new marketing campaign, it would be a good indicator that the marketing efforts are working.
Just like the other charts in the App Hosting dashboard, rollouts are clearly marked so that you can see the impact of recent changes.
Add routes to your app today! Click “Manage routes” in the Firebase console to get started. Also, take a look at theMonitor routesdocumentation to learn more about accepted route patterns, pricing, and use cases.
Add a GitHub connection
App Hosting used to only support adding a GitHub connection at the time a backend was created, which meant you couldn’t easily switch a backend from a local deployment workflow to one with CI/CD. Now, you can set up continuous deployment for a backend at any time.
For example, you canpublish to App Hosting from Firebase Studiowithout having a GitHub repo set up so you can quickly share your prototyped app with friends. When you’re ready to professionalize your workflow with CI/CD, you cancreate a GitHub repository for the appand connect your existing App Hosting backend to it. You can work on new features in branches, review in a pull request, and merge to your main branch knowing that App Hosting will deploy newly-merged pull requests automatically and securely.
Summary
We hope these updates make it easier for you to deploy and monitor your full-stack web apps. While you try them out, we’ll keep working to make App Hosting even better.
If you haven’t already, head over to theFirebase consoleand explore ourdocumentationto deploy your first app. As always, if you have questions, you can reach out on any of oursupport channels, or post questions on Stack Overflow. And if you have ideas for any new features, let us know onUserVoice!
TypeScript & Web SDK Implementation Pattern
Here is the baseline configuration pattern for integrating App Hosting has faster deployments, route-based monitoring, and improved CI/CD setup into a modern TypeScript web application:
import { initializeApp, getApps } from "firebase/app";
import { getFirestore, collection, query, where, getDocs } from "firebase/firestore";
import { getAuth } from "firebase/auth";
const firebaseConfig = {
apiKey: process.env.NEXT_PUBLIC_FIREBASE_API_KEY,
authDomain: process.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN,
projectId: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID,
};
export const app = getApps().length ? getApps()[0] : initializeApp(firebaseConfig);
export const db = getFirestore(app);
export const auth = getAuth(app);
Production Web Architecture & Security Checklist
Whether you are deploying onFirebase App Hosting, Cloudflare Workers, or Vercel, shipping Next.js features to production requires defense-in-depth across three layers:
- Enforce Firebase App Check & Attestation:Protect your web endpoints, Cloud Functions, Data Connect GraphQL resolvers, and Firebase AI Logic calls against unauthorized replay or billing abuse usingFirebase App Check with reCAPTCHA Enterprise.
- Validate Locally with the Firebase Emulator Suite:Run deterministic integration tests against local Firestore, Auth, Functions, and Data Connect PostgreSQL emulators before promoting schema or rule changes to production.
- Keep Server & Client Boundaries Type-Safe:Use the modular Firebase Web SDK and generated TypeScript bindings so SSR frameworks like Next.js, SvelteKit, and Angular serialize state cleanly without hydration flickers.
Watch Our Related Firebase Video Tutorial on YouTube
Want to see how we architect and debug Firebase web applications live? Watch our related CodingCat.dev sessionBuilding a web application with Next.js and Firebase - Firebase Summit 2021below, and make sure toSubscribe to CodingCat.dev on YouTubefor weekly full-stack web and AI deep dives:
Resources, Official Docs & Related CodingCat.dev Guides
- Primary Release Source:App Hosting has faster deployments, route-based monitoring, and improved CI/CD setup on the Official Firebase Blog(published 2025-08-25 by Jeff Huleatt)
- Official Firebase Documentation:Firebase Developer Docs & Web SDK Reference
- Related on CodingCat.dev:Grounding with Google Search in the Firebase AI Logic client SDKs
- Related on CodingCat.dev:Firestore with MongoDB compatibility is now generally available
- Related on CodingCat.dev:Firebase SQL with Data Connect
- Related on CodingCat.dev:Build a Custom No-Code App in 90 Minutes
Frequently Asked Questions (FAQ)
What are the key capabilities introduced in App Hosting has faster deployments, route-based monitoring, and improved CI/CD setup?
App Hosting has faster deployments, route-based monitoring, and improved CI/CD setup (announced 2025-08-25) enhances the Firebase platform for Firebase, Google Cloud, Web Dev, Next.js, Serverless workloads. We’re excited to share some recent updates to App Hosting that make it an even better platform for your full-stack web apps! Developers can review the official release notes on theFirebase Blogalongside the implementation patterns in this guide.
How do web developers use App Hosting has faster deployments, route-based monitoring, and improved CI/CD setup with Next.js, SvelteKit, React, or Angular?
Web developers can integrate these features using the modular Firebase JavaScript/TypeScript SDK, Firebase Data Connect web bindings, andFirebase App Hosting. Always pair client-side SDK initialization with Firebase App Check and strict Security Rules, and test locally with the Firebase Local Emulator Suite before deploying.
Where can I watch video tutorials on Firebase Web and AI development?
You can watch our hands-on Firebase video walkthroughs on theCodingCat.dev YouTube Channel, includingBuilding a web application with Next.js and Firebase - Firebase Summit 2021, and browse our complete Firebase tutorial archive on CodingCat.dev.
Top comments (0)