If you are building server-rendered Angular or Next.js apps, check out next-generation Firebase App Hosting, a full-stack solution for modern web frameworks.
مزيد من المعلومات حول مستويات الاستخدام والحصص والأسعار المتعلقة بالاستضافة
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تستند أسعار Firebase Hosting إلى استخدام مشروعك لما يلي:
Hosting مساحة التخزين (غيغابايت): مقدار مساحة التخزين
المطلوبة لتخزين محتوى مواقع Hosting (ملفاتك الثابتة وملفات الإعداد).
نقل البيانات (غيغابايت/الشهر): يشير إلى كمية البيانات التي يتم نقلها إلى المستخدمين النهائيين من شبكة توصيل المحتوى (CDN). يتم تلقائيًا توفير شبكة توصيل محتوى عالمية لكل موقع إلكتروني على Hosting بدون أي رسوم.
حصة Hosting هي على مستوى المشروع، وليس على مستوى الموقع الإلكتروني أو القناة. يمكنك ترقية مشروعك إلى خطة الفوترة Blaze للاستفادة من مستويات إضافية مدفوعة من مساحة التخزين ونقل البيانات. مزيد من المعلومات عن الحصص والأسعار في Firebase Hosting
يمكنك مراقبة كلّ من Hosting مستوى التخزين ومستوى نقل البيانات في
Firebase وحدة التحكّم:
انتقِل إلى لوحة بيانات الاستخدام في القسم Hosting من وحدة التحكّم.
يمكنك الاطّلاع على مستويات الاستخدام لفترات الفوترة المختلفة، وكذلك لجميع مواقعك الإلكترونية Hosting أو لكل موقع إلكتروني.
انتقِل إلى لوحة بيانات الاستخدام والفوترة الخاصة بمشروعك في وحدة التحكّم.
التعرّف على مساحة التخزين البالغة Hosting
عند نشر محتوى جديد على موقعك الإلكتروني، يمكنك إنشاء "إصدار" يشير إلى نسخة محدّدة من المحتوى والإعدادات الخاصة بموقعك الإلكتروني. يخزِّن Firebase الملفات المرتبطة بكل إصدار (الإصدارات الجديدة والإصدارات السابقة المحتفظ بها). تشكّل هذه الملفات Hostingمستوى استخدام مساحة التخزين في مشروعك.
تكون مساحة التخزين هذه Hosting مستقلة وغير مرتبطة بأي مساحة تخزين أخرى لمشروعك على Firebase (مثل Cloud Storage for Firebase أو مساحة تخزين قاعدة البيانات).
يُرجى العِلم أنّ الحدّ الأقصى لحجم الملفات الفردية في Hosting هو 2 غيغابايت.
حصة مساحة التخزين البالغة Hosting
يمكنك تخزين محتوى Hosting بدون أي تكلفة تصل إلى 10 غيغابايت.
إذا لم تكن مشتركًا في خطة Blaze وبلغت الحد الأقصى المسموح به وهو 10 غيغابايت من مساحة تخزين Hosting المجانية، لن تتمكّن من نشر محتوى جديد على مواقعك الإلكترونية. عليك حذف الإصدارات القديمة أو الترقية إلى خطة Blaze.
إذا كنت تستخدم خطة Blaze وبلغت الحد الأقصى المسموح به لسعة التخزين المجانية في Hosting، وهو 10 غيغابايت، سيتم تحصيل 0.026 دولار أمريكي منك مقابل كل غيغابايت إضافي من مساحة التخزين في Hosting.
التحكّم في استخدام مساحة التخزين Hosting
للتحكّم في استخدام مساحة التخزين في Hosting، إليك بعض الإجراءات التي يمكنك اتّخاذها:
يمكنك تخزين الملفات الأكبر حجمًا باستخدام Cloud Storage for Firebase، الذي يوفّر حدًا أقصى للحجم ضمن نطاق التيرابايت للعناصر الفردية.
فهم عملية نقل البيانات Hosting
عندما تعرض Hosting أحد موارد موقعك الإلكتروني، يتم نقل البيانات من شبكة توصيل المحتوى (CDN) إلى المستخدم النهائي. قد يكون المورد المطلوب متاحًا في ذاكرة التخزين المؤقت لشبكة توصيل المحتوى (CDN) (نتيجة مطابقة في ذاكرة التخزين المؤقت)، أو قد يكون من الضروري جلبه من الخلفية Hosting (نتيجة غير مطابقة في ذاكرة التخزين المؤقت). إذا كان من الممكن تخزين المحتوى المطلوب مؤقتًا في شبكة توصيل المحتوى، سيتم ذلك. يتم احتساب عدد مرات إصابة ذاكرة التخزين المؤقت وعدد مرات عدم إصابتها ضمن استخدام نقل البيانات Hosting في مشروعك.
حصة نقل بيانات Hosting
يتم تلقائيًا الاحتفاظ بنسخة احتياطية من كل موقع إلكتروني على Hosting باستخدام شبكة توصيل المحتوى (CDN) العالمية بدون أي رسوم.
لا يتم تحصيل أي رسوم مقابل نقل البيانات من شبكة توصيل المحتوى إلى المستخدمين النهائيين، وذلك بما يصل إلى 10 غيغابايت في الشهر.
إذا لم تكن مشتركًا في خطة Blaze وبلغت الحد الأقصى المسموح به لنقل البيانات بدون تكلفة وهو 10 غيغابايت في الشهر، سنمنحك فترة سماح قصيرة، ولكن سيتم بعد ذلك إيقاف مواقعك الإلكترونية. ستبقى مواقعك الإلكترونية غير مفعّلة حتى بداية الشهر التالي لأنّ الفوترة المتعلقة بنقل البيانات تستند إلى مستويات الاستخدام الشهرية. يمكنك إعادة تفعيل مواقعك الإلكترونية على الفور من خلال الترقية إلى خطة Blaze.
إذا كنت تستخدم خطة Blaze وبلغت الحد الأقصى المسموح به لنقل البيانات بدون تكلفة وهو 10 غيغابايت في الشهر، سيتم تحصيل 0.15 دولار أمريكي منك مقابل كل غيغابايت إضافي من البيانات يتم نقلها في ذلك الشهر.
التحكّم في استخدام نقل بيانات Hosting
للتحكّم في استخدامك لنقل البيانات في Hosting، إليك بعض الإجراءات التي يمكنك اتّخاذها:
اضبط التخزين المؤقت من جهة العميل للمحتوى بدقة كي لا تضطر المتصفحات إلى طلب مورد من شبكة توصيل المحتوى. يمكنك الاطّلاع على مزيد من المعلومات حول التخزين المؤقت في
مستندات مطوّري الويب.
تجنَّب تحميل الصور والفيديوهات التي لا تحتاج إلى عرضها.
إنشاء عاملي خدمة للتعامل مع طلبات معيّنة
إذا كنت تحمّل حِزم تطوير البرامج (SDK) من Firebase عبر عناوين URL محجوزة Hosting، احرص على قراءة
المعلومات المهمة حول
مساحة الاسم المحجوزة لعناوين URL هذه.
في ما يلي بعض المراجع لمساعدتك في إعداد عاملي الخدمة، خاصةً مع تطبيق ويب تقدّمي:
تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["\u003cbr /\u003e\n\nThe pricing for Firebase Hosting is based upon your project's usage of the\nfollowing:\n\n- [Hosting storage](#hosting-storage) (GB) --- The amount of storage space\n required to store the content of your Hosting sites (your static files and\n your configuration files).\n\n- [Data transfer](#hosting-data-transfer) (GB/month) --- The amount of data\n transferred to end users from our CDN. Every Hosting site is automatically\n backed by our global CDN at no charge.\n\nYour Hosting quota is project-level, not site-level or channel-level. You\ncan upgrade your project to the Blaze billing plan to unlock additional paid\nstorage and data transfer levels. Learn more about\n[quotas and pricing for Firebase Hosting](/pricing#hosting).\n\nWe recommend setting up\n[budget alerts](/docs/projects/billing/avoid-surprise-bills#set-up-budget-alert-emails)\nfor your project in the Google Cloud console.\n\nMonitor both your Hosting storage level and data transfer level in the\nFirebase console:\n\n- Visit the [*Usage*](//console.firebase.google.com/project/_/hosting/usage)\n dashboard in the *Hosting* section of the console. \n\n You can view the usage levels for different billing periods as well as for all\n your Hosting sites or for each site.\n\n- Visit your project's\n [*Usage and billing* dashboard](//console.firebase.google.com/project/_/usage)\n in the console.\n\n| When your project is on the Blaze pricing plan, [**set up budget alerts**](/docs/projects/billing/avoid-surprise-bills#set-up-budget-alert-emails) using the console. You can use the [Blaze plan calculator](/pricing#blaze-calculator) to estimate your monthly costs.\n|\n| Be aware that **budget alerts do *not* cap your usage or\n| charges** --- they are *alerts* about your costs so that you can\n| take action, if needed. For example, you might consider\n| [using\n| budget notifications to programmatically disable Cloud Billing on a\n| project](https://cloud.google.com/billing/docs/how-to/disable-billing-with-notifications).\n\nUnderstand Hosting storage\n\nWhen you deploy new content to your site, you create a \"release\" that points to\na specific version of content and configuration for your site. The files\nassociated with each release (both new releases and any retained previous\nreleases) are stored by Firebase. These files make up your project's Hosting\nstorage usage level.\n\nThis Hosting storage is independent and unrelated to any other storage for\nyour Firebase project (like Cloud Storage for Firebase or database storage).\n\nNote that Hosting has a maximum size limit of 2 GB for\nindividual files.\n\nQuota for Hosting storage\n\nStorage for your Hosting content is at no cost up to\n10 GB.\n\n- If you are *not* on the Blaze plan, and you reach the\n 10 GB limit of no-cost Hosting storage, you won't be\n able to deploy new content to your sites. You'll need to\n [delete older releases](/docs/hosting/manage-hosting-resources#delete-release)\n or\n [upgrade to the Blaze plan](//console.firebase.google.com/project/_/overview?purchaseBillingPlan=metered).\n\n- If you are on the Blaze plan, and you reach the 10 GB\n limit of no-cost Hosting storage, you'll be billed $0.026 for each additional\n GB of Hosting storage.\n\nControl usage of Hosting storage\n\nTo control your Hosting storage usage, here are some things you can do:\n\n- [Set a limit](/docs/hosting/manage-hosting-resources#release-storage-settings)\n for the number of releases to keep.\n\n- [Manually delete](/docs/hosting/manage-hosting-resources#delete-release)\n specific releases.\n\n- Store larger files using [Cloud Storage for Firebase](/docs/storage), which\n offers a maximum size limit in the terabyte range for individual objects.\n\nUnderstand Hosting data transfer\n\nWhen Hosting serves one of your site's resources, data transfers from our\nCDN to your end user. The requested resource might already be available in our\nCDN cache (a cache hit) or it might need to come from the Hosting backend (a\ncache miss). If the requested content can be cached in the CDN, it will be. Both\ncache hits and misses count toward your project's Hosting data transfer\nusage.\n\nQuota for Hosting data transfer\n\nEvery Hosting site is automatically backed by our global CDN at no charge.\nData transfer from the CDN to your end users is at no cost up to\n10 GB/month.\n\n- If you are *not* on the Blaze plan, and you reach the\n 10 GB/month limit of no-cost data transfer, we\n offer a short grace period but then your sites will be disabled. Your sites\n will remain disabled until the start of the next month because data transfer\n billing is based on *monthly* usage levels. You can reenable your sites\n immediately by [upgrading to the\n Blaze plan](//console.firebase.google.com/project/_/overview?purchaseBillingPlan=metered).\n\n- If you are on the Blaze plan, and you reach the\n 10 GB/month limit of no-cost data transfer, you'll be\n billed $0.15 for each additional GB of data transferred that month.\n\nControl usage of Hosting data transfer\n\nTo control your Hosting data transfer usage, here are some things you can\ndo:\n\n- Fine-tune the client-side caching of your content so that browsers don't need\n to request a resource from the CDN. Learn more about caching in the\n [web developer documentation](//web.dev/http-cache/#cache-control).\n\n- Avoid loading images and videos that you don't actually need to display.\n\n- Create service workers to handle certain requests. \n\n If you load Firebase SDKs via reserved Hosting URLs, make sure to read\n important information about the\n [reserved namespace for these URLs](/docs/hosting/reserved-urls#reserved_urls_and_service_workers).\n\n Here are some resources to help you set up service workers, especially with a\n PWA:\n - Codelab: [Caching files with the service worker](//codelabs.developers.google.com/codelabs/pwa-caching-service-worker/index.html)\n\n - Documentation: [Service Worker Mindset](//web.dev/service-worker-mindset/#powerful-but-limited)"]]