Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the purpose of .firebase/hosting. ALPHANUM.cache

People also ask

What is firebase Hosting cache?

Firebase Hosting uses a powerful global CDN to make your site as fast as possible. Any requested static content is automatically cached on the CDN. If you redeploy your site's content, Firebase Hosting automatically clears all your cached static content across the CDN until the next request.

Should I Gitignored firebase?

gitignore ? stackoverflow.com/a/52131191: Quote, "you should definitely add the . firebase directory to your . gitignore or equivalent file, since it contains information that's not strictly part of your project, and is likely not applicable for everyone sharing and contributing to your project source code."

How do I temporarily disable firebase Hosting?

Go to Firebase Console and select Hosting from the menu of the left. You will see the deployed project with a list of your historical actions like Deployed , disabled , etc. Only after you have disabled the site, the "three vertical dots" menu will be available for you to choose the action to delete the deployment.

What is .firebase Folder?

This directory contains all your publicly served static files, including your index. html file and any other assets that you want to deploy to Firebase Hosting. The default for the public root directory is called public . You can specify your public root directory now or you can specify it later in your firebase.


This file is part of a new feature in Firebase Hosting that minimizes the size the time of a hosting deployment by only uploading the files that changed since the last deployment. It's new in CLI version 4.2.0, and you can read about that on GitHub.

As Frank suggested, you should definitely add the .firebase directory to your .gitignore or equivalent file, since it contains information that's not strictly part of your project, and is likely not applicable for everyone sharing and contributing to your project source code.