Hello, this is my first blog post with a new domain and platform. The post is being written in markdown and implemented using Gatsby.
However, I realized that an SSG like Gatsby utilizes the power of code/data splitting, pre-loading, pre-caching, image optimization, and all sorts of performance enhancements that would be difficult or impossible to do with straight HTML.
A few things I really like about Gatsby:
- No page reloads - this site is now a SPA (single page app), and clicking on any internal page from within the website doesn't need to load a completely new resource
- Image optimization - all the images are automatically stripped of metadata, optimized, resized, lazy-loaded, and compressed
- Pre-fetch resources - Gatsby detects what links are available on a given page and loads that data into the cache
- Bundling and minification - code is minified, bundled, and served
- Server side rendered at build time
- Anyone can edit my posts! If you see a typo or an error, just fork the repo and make the change!
- Every time I push to the repo, the site gets automatically deployed.
Very little boilerplate code was necessary to get started with Gatsby. I just forked the Gatsby Advanced Starter, a very simple, minimalist, completely UI-free foundation after my own heart, and started working with it.