What dose static mean?

What dose STATIC mean?Screenshot 2020-10-01 at 9.31.34 AM

1 Like

It means itdoesn’t need a server to run (e… PHP, NodeJS, etc.)
If it has a package.json it needs a server


thank you eddiestech!


More info @solosh0t:

The hello-webpage template gets you started with a basic static website with an index.html page and static HTML, JavaScript, and CSS. This means that your app stays on 24/7 without using up your allowance of Project Hours.
An existing project will be identified by Glitch as a static site if it does not contain one of the following files:

  • package.json
  • requirements.txt
  • glitch.json

@EddiesTech already has a good explanation, but another way to look at static vs dynamic sites is this. On a static site, the HTML/CSS/JavaScript code is retrieved from the server and rendered by your browser’s rendering engine (Blink, KHTML, Gecko). However, on a dynamic site, things are a bit different. First, the website’s server will execute any backend code (PHP, NodeJS, Python, Java, etc.) and send the HTML/CSS/JavaScript results of that to the browser. Then that will be rendered.