Netlify does not support SSI (or PHP, or other such technologies). However, you should be able to get the same end result using JavaScript. It won’t be as fast as SSI, though.
@lucabol Understood. Just remember that if you include any HTML upon which you want to add styling via JavaScript (a menu system with highlighting, for example), you might have to include the styling JavaScript at the end of the included HTML section so it will execute properly. The easiest way I have found to do this is via jQuery’s .load() command.
I’ve tried every combination of Ajax and Vanilla JS I could come up with, but for loading common blocks of HTML pages jQuery worked best, and was the easiest to implement by far. This is in addition to the fact that loading scraps of HTML that include JS actually works as expected with jQuery. I understand the desire to avoid it, but it does work.
btw I had good luck with HTMX to load Html fragments.
But that’s not the issue here, SSI was simply an optimization to send the right HTML upfront instead of loading it client-side. But that’s not possible.
In any case, thanks for promptly answering my question.