You can use nextjs to statically generate a whole site, or incrementally regenerate it for slowly changing parts.