The other day, I mentioned that sending most of your HTML from the server makes your site or app faster and far less prone to breaking. Today, I wanted to talk about a few different tools for pre-rendering your HTML. Let's dig in! What's a static site generatorA Static Site Generator (or SSG) is a tool that let's you write content in markdown files, define templates for different types of content, and then mash the two together. If this sounds a lot like server-side CMS's like WordPress, that's because it kind of is! The big differences are that SSGs…
They give you performance benefits (both in the browser and on the server) of having flat HTML files, with the developer/authoring benefits of a template-based system. Different SSG optionsThere are easily over a hundred different Static Site Generators, but there are a just a small handful of options that compromise most of the market…
So which one should you pick? I recommend looking at the docs for each, and rolling with which ever one clicks the fastest for you, has a templating language you feel comfortable with, and "feels" right. While they do have some meaningful differences, they're all more alike than different. Some important nuancesThere are some important differences to be aware of…
All of this is to say, if I had to choose an option for a client today in a vacuum, I'd like recommend 11ty if I had no additional context. Cheers, Want to share this with others or read it later? View it in a browser. |
Beranda » Tanpa Label » [Go Make Things] The different static site generators (and which one to choose)
0 Komentar untuk "[Go Make Things] The different static site generators (and which one to choose)"