this is something that would best be integrated in Publii, assuming it’s a reasonable request (SSI is supported by Apache, LiteSpeed, nginx, IIS)
SSI works using shtml files
imagine a nav menu that extends across the entire website – currently, if you add/remove an item, Publii has to republish all those pages, whereas with SSI, it would only have to publish 1 file which is then included in all the other files via the web server (the other files would only contain a special HTML comment that references the file containing the HTML for the menu)