Capri was created in search of the most carbon-friendly way to build a medium-sized website with mostly static content.
When looking a different rendering patterns, static site generation (SSG) is clearly the most resource efficient one, as computation only happens when the content is updated. And since all the HTML is already rendered, the processing required on the client is also reduced to a minimum.
We could do it like motherfuckingwebsite.com and call it a day, but let's set some realistic constraints:
This translates to the following technical requirements:
We looked closely at the various existing approaches, but found none that met all of the above requirements without any hacks or workarounds. This is why we started Capri.
By the way, the carbon footprint of this site turned out pretty well.