Static sites are faster and speed is a known Google metric particularly on mobile. YouDoCMS static sites on Google Firebase achieve a 100% Lighthouse score.
Static sites are secure and are not targeted which in turn reduces wasteful traffic and bandwidth. Its a win for you and the environment.
Firebase is more than just hosting.
Firebase is an integrated platform incorporating a database, Firestore cloud storage, serverless functions and static website hosting. YouDoCMS headless CMS integrates with firebase for static site hosting and cloud storage.
Firebase Hosting supports multiple sites. You can associate multiple sites with one Firebase project. Each site hosts its own unique static assets, but shares Firebase resources with the other sites in the same Firebase project.
Firebase is an excellent choice for small business static sites due to the generous limits of the Spark free plan which includes 10Gb of storage, no maximum file size and data transfer limit of 360 MB/day.Compare Static Hosting
Google Firebase offer the Spark plan for static website hosting with generous limits that make this a good choice for small businesses or sites with large files.
Firebase supports multiple sites within a project. For example if you have video content to be shared between two websites. The video content can be uploaded to Firestore cloud storage and shared between both sites.
Firebase static site hosting provides an integrated repository including storage and is the simplest way to serve your static site via Google CDN.
Firebase utilises blob storage and each deployment is a single object. Firebase retains a history of each deployment making it very simple to rollback to a previous deploy in the event of an error.
The Firebase console is easy to understand however Firebase does not include a file explorer like AWS or Azure. This can be confusing at first however integration with YouDoCMS local build folder and the rollback functionality make deployment simple.
After your site has been built using the YouDoCMS static site generator a single click deploy to Firebase invoked the Firebase CLI to synchronise your local build folder with Firebase blob storage. Before deployment we check the base URL matches the Firebase domain and generate a robots.txt and sitemap to enable/disable indexing by search engines. Synchronisation includes removing outdated files and uploading new content.
GTMetrix test results for our home page tested on 19/12/2022 show Firebase achieving an excellent Largest Contentful Paint (LCP) time of 468ms which compares very favourably with the AWS (460ms), Cloudflare (393ms) and Azure (495ms).
LCP measures how long it takes for the largest content element e.g. an image or heading text on your page to become visible. For a good user experience, aim for an LCP of 1.2 seconds or less.
The 2022 Web Almanac analysis of the performance of hosted content management systems shows that less than half of the tested CMS sites achieve a “good” LCP of under 2.5 seconds for desktop or mobile.