When a web page does not allow switching from one session to another, depending on who loads it, then this site is a static page. Static web pages do not contain dynamic content, these being simpler allow a faster loading time and better overall performance.
In the Sanity portal they define exactly what a static page means "A static website uses server-side rendering to serve pre-built HTML, CSS and JavaScript files to a web browser, in contrast to traditional dynamic sites that work by displaying the page website at the time of the request".
They go on to say “Static sites allow you to decouple your content repository and front interface, giving you greater flexibility in how your content is served. Cost effectiveness is another reason businesses migrate to a static site. because static files are lightweight and often faster and cheaper to serve."
Among the most popular static site generators, such as Gatsby.js, one that works perfectly for incremental builds is Hammer for Mac. This is a static site generator with a native Mac application called GUI.
This Hammer GUI application has a cache feature that allows the developer to build from the cache, as well as having partials to avoid the full rebuild process being called with every file that is saved.
A favorite among experts in the field, this technology is one of the best when it comes to having a static site generator that can deliver functional incremental builds for technology projects.
In addition to Hammer for Mac, there are other static site generators that are quite popular among developers, including:
Gatsby.js may be the most popular of all static site generator technologies. Open source and based on JavaScript and ReactJS and is powered by GraphQL. Gatsby.js allows anyone with some programming knowledge to create user-friendly pages with rich features.
Another of the popular static site generators is Jekyll. It is one of the most popular static site generators and it is also powered by Github Pages. It is compatible with Markdown, it comes with a taxonomy system, and you can use it with the Liquid template language. Ryby on Rails and Spotify for Developers use Jekyll.
Hugo is another of the most used static site generators today. They define themselves as "the fastest framework in the world to build websites". This technology allows the developer or the user to preview any changes to the website while making them, as well as being able to combine various modules on any page and achieve attractive features.
In the same way, we have Eleventy. As stated on their website, “Eleventy was created to be a JavaScript alternative to Jekyll. It is zero configuration by default but has flexible configuration options. Eleventy works with your project's existing directory structure. Eleventy uses separate template engines. We don't want to hold your content hostage. If you decide to use something else later, having your content decoupled in this way will make migration easier.”
We recommend you on video