Static web page

Web page delivered to web browser as-is


title: "Static web page" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["web-1.0", "static-website-generators", "web-development"] description: "Web page delivered to web browser as-is" topic_path: "technology/web" source: "https://en.wikipedia.org/wiki/Static_web_page" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary Web page delivered to web browser as-is ::

A static web page, sometimes called a flat page or a stationary page, is a web page that is delivered to a web browser exactly as stored, in contrast to dynamic web pages which are generated by a web application.

Consequently, a static web page displays the same information for all users, from all contexts, subject to modern capabilities of a web server to negotiate content-type or language of the document where such versions are available and the server is configured to do so. However, a webpage's JavaScript can introduce dynamic functionality which may make the static web page dynamic.

Overview

Static web pages are often HTML documents, stored as files in the file system and made available by the web server over HTTP (nevertheless URLs ending with ".html" are not always static). However, loose interpretations of the term could include web pages stored in a database, and could even include pages formatted using a template and served through an application server, as long as the page served is unchanging and presented essentially as stored.

The content of static web pages remains stationary irrespective of the number of times it is viewed. Such web pages are suitable for the contents that rarely need to be updated, though modern web template systems are changing this. Maintaining large numbers of static pages as files can be impractical without automated tools, such as static site generators. Any personalization or interactivity has to run client-side, which is restricting.

Advantages

Disadvantages

  • Dynamic functionality must be performed on the client side
  • After each update of a static website, some or all users may see old, stale, outdated previous versions instead of the latest version until the old version is flushed from CDNs and other caches.

Static site generators

Main article: Static site generator

Static site generators are applications that compile static websites - typically populating HTML templates in a predefined folder and file structure, with content supplied in a format such as Markdown or AsciiDoc.

Implementations

References

References

  1. "Pelican – A Python Static Site Generator". Pelican.
  2. "Building static websites in Julia". Franklin.
  3. Melendez, Steven. (2018-08-10). "The Difference Between Dynamic & Static Web Pages".
  4. "Definition of: dynamic Web page".
  5. "Site statique ou dynamique".
  6. "What is a Static Web Page? - Definition from Techopedia". Techopedia.com.
  7. Bouças, Eduardo. (2015-05-20). "An Introduction to Static Site Generators".
  8. (2017-02-06). "Why use a static site generator?".
  9. (2015-11-02). "Why Static Website Generators Are The Next Big Thing – Smashing Magazine". Smashing Magazine.
  10. Bouças, Eduardo. (2015-05-20). "An Introduction to Static Site Generators".
  11. Vincent, William. (9 October 2018). "Static vs Dynamic Websites: Pros and Cons".
  12. (8 August 2020). "Best Security Practices for Static Websites: The Ultimate Guide".

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

web-1.0static-website-generatorsweb-development