Git Product home page Git Product logo

gostatic's Introduction

Go Static

Promoting the benefits of Static Site Generators and removing the FUD around them

Story

What is static?

Static means generating content once (or rather on every change), rather than every time the content is requested.

What are the benefits of going static?

Faster

The speed and efficiency at scale can be up to 8 times faster and therefore 8 times cheaper. Nothing loads in a browser faster than a plain html file. Classic webapplications or CMS (like Wordpress, Joomla) generate the html every time they receive a request from a visitor. Once that happens they have to query the database and run through many code to generate the html for the browser. Depending on the used software, hardware and amount of requests this generating needs time which can amount to seconds. If there is massive increase in traffic and sites overload, this will cause them to slow down or even become unavailable temporarily (called slashdot effect). Most sites use web caching to avoid this.

Exactly therefore Static Site Generators are Web caching inherently.

As a result less server hardware and electricity is needed, so it's a cheaper and greener option compared to a traditional PHP architecture.

Securer

file based

Often file based (not all the time however)

  • no database to maintain
  • edit sourcefiles directly and with servertools (grep etc)

abstract friendly

Often abstract friendly (not all the time however)

How is static implemented?

  • Caching on Dynamic Sites
  • Static Site Generators
  • Hybrid Static Site Generators

Features

Features you expect from common Content-Management-Systems

  • Clean URLs and Permalinks
  • HTML-metatags
  • RSS are available as extra view
  • third party widgets like maps

Replaceable

Theses features can be replaced with clientside JavaScript

  • comments (e.g. disqus.com)
  • search function, can be substituted external search engines (solr, Google Custom Search)
  • widgets, like current comments, tweets, quotes of the day.

Missing

  • categories or tags
  • webbased content editing
  • editorial work-flow

What implementations already exist?

Check out the definitive listing at StaticSiteGenerators.net

Contribute

License

Public Domain

gostatic's People

Contributors

balupton avatar klml avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mikeumus

gostatic's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.