So according to docs I've read, a webpage written in html code which includes script src="some_JavaScript_file.js is always a dynamic page even though the embedded JavaScript only has const sum=3+5 because no matter how simple it is, as long as there's even a tiny amount of backend involved, that webpage is definitely a dynamic webpage. so with that premise(please confirm that the premise I wrote is actually correct), my question is how does it make sense that Firebase claims it runs index.html sitting in Public folder ONLY when it's running a static webpage even though if that index.html file includes script src="some_JavaScript_file.js, it's a dynamic webpage?
Some confusion about Firebase regarding static vs dynamic pages
579 views Asked by Mike Kim At
1
There are 1 answers
Related Questions in FIREBASE
- Protect OpenAI key using Firebase function
- How to read new child from firebase in an android app?
- Why do I need to wait to reaccess to Firestore database even though it has already done before?
- Firebase storage : How to load images faster in flutter
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- Kotlin Version Error in Integration of Firebase
- How to add and retrive pdf file on firebase in jetpack compose
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
- I created a domain name from cloudflare, and Hoisted my static site hosted in google firebase, error in adding custom domain in firebase
- Can Anyone help me to load pdf file from firebase to user app by URL in jetpack compose?
- chatbot respond to onequery type
- I just cant make it work, HTML, JS and Firebase error
- Blog Post URL In flutter Web
- sendPasswordResetEmail Firebase Auth method deleting other sign in providers accounts (facebook, github, etc)
- Setting document field value using Firestore Functions
Related Questions in STATIC-PAGES
- Github pages: how to redirect error url to 404.html page with nojekyll
- NextJS: How to display static, outsourced content (made on Wordpress), in the app?
- Next.js 13 next build is not generated dynamic route
- Api Sheets Problem Nuxt 2 when i try CopyTo
- Implementing the CSP header on static pages in Rails
- Next.js - 404 error without .html extension when deploying static output
- I have deployed my WordPress site (osmfancytext.com) on Netlify - sitemap_index.xml is empty
- How to use a nonce for external scripts when exporting Next.js pages
- How can I safely use the Azure Application Insights Instrumentation Key with Javascript?
- OG Image not showing on WhatsApp
- Banner Image Zooms in on Mobile
- Can a static page read environment variable?
- github page load image strict-origin-when-cross-origin
- I can't get a page to show on Docusaurus. What am I doing wrong?
- How do I update my Hugo site locally and make sure that the live site (hosted on GitHub pages) reflect the changes?
Related Questions in DYNAMIC-PAGES
- How can I retrieves divs into a dynamic page in Java?
- extracting data from a webpage that changes dynamically (element appears only on hover)
- trouble understanding Params object type in nextJS13
- Is it possible to have a page name and, a folder name that consists of dynamic pages, to be the same?
- Strapi - Add recent collection types in dynamic zones
- React: Clicking dynamically created <Link> to fill newly rendered page contents
- Blazor - Need to create pages dynamically
- How to stop nextjs from making server call for route with parameter in it?
- (Gatbsy-React) Dynamic Path: how persist pages dynamically created with API to be crawled by Google Bot, and visited directly by users
- Nextjs dynamic page doesn't appear when refreshing in the server (after build)
- How to click on the first result on a dynamic page using python selenium?
- Radio button on Wix dynamic page
- Repeater linked to Dynamic Page in Wix
- How to get separate html widgets working on dynamic pages
- Dynamic route react-router-dom
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Firebase Hosting doesn't interpret the content you host on it in any way. So if there's JavaScript in any of your files, Firebase doesn't execute that JavaScript code on its servers. Same for any other code: Firebase will serve the code as text (or whatever other format you stored it in) to clients that request it.
If your pages contain JavaScript that you want to run in the client's browser, that is precisely what you want. So you can serve a web site that contains client-side JavaScript on Firebase Hosting.
If you have any code that you want to run server-side you will have to look beyond Firebase Hosting. Nowadays you can stay within Google's infrastructure by integrating Firebase Hosting with Cloud Functions or Cloud Run.