Programming Terminology

Static Site

Related to: Dynamic Site, Host, HTML

A static site is a website that has only static assets that we host on our server. To be "static" just means it's a file that doesn't need a programming language to execute it. Programming languages can run on the server to execute server-side languages to create dynamic sites. A static site on the other hand is just made up of files like HTML, CSS, JavaScript, and images that can be downloaded as-is when the user makes requests to the website.

There are a few tradeoffs to making a static website compared to a dynamic one:

Static Sites:

  • Are generally cheaper to make and host than dynamic sites.
  • Are fast to download and are good for SEO.
  • Can't have dynamic content rendered from the server.
  • Are usually for more simple projects compared to dynamic sites.