jekyll - What is a static site generator? -


after ditching wordpress, i've been experimenting jekyll create blog. chose (over ghost) learn basics of web development while blogged. also, free hosting on github pages neat , free.

what static site generator (like jekyll), , why exist?

a static site has 3 components:

  1. html files (or other content serve via web, .txt files)
  2. referenced assets (js, images, css)
  3. a web server

there no database data retrieved, compared wordpress of posts , pages live in database. there no server-side scripting engine process information , render content.

static site generators exist provide tools templating, shared data, , custom tags assist in creation of static html pages web server serving.

the benefits of static site are:

  • security. web server moving part.
  • portability. html files render same when served local machine on web.
  • speed. when cacheable, compressed, , doesn't require data crunching, things load fast.

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -