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:
- html files (or other content serve via web, .txt files)
- referenced assets (js, images, css)
- 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
Post a Comment