In response, one recent trend has been to try to shift back toward server-side rendering and delivery of content. One approach, taken by tools like Gatsby, Jekyll, and Hugo, is to prebuild websites into static HTML and load them onto content delivery networks spanning the globe, which allows for super-fast loading times but reduces the amount of interaction possible. While those sites have begun introducing functions at the edge to add in more interaction, they are still limited there.
Astro, a self-proclaimed “new kind of static site builder for the modern web”, launched nearly a year ago now and is one tool looking to solve this problem with yet another approach, said Astro CEO Fred Schott in an interview with The New Stack.
There are two basic ideas Schott alludes to here that he says differentiates the framework from others: partial hydration and the ability to work with any framework.
For many frameworks, the page loads as one unit, which means that the user cannot interact with any part of it until everything loads. This also has the bandwidth and compute implications, as it means that a page full of image carousels and other features can take time to load and use up bandwidth.
Featured image via Pixabay.