There might be a third alternative, in which you come up with an intermediate transfer language for the dynamic content that is rendered using static templates. See here for more info.
There might be a third alternative, in which you come up with an intermediate transfer language for the dynamic content that is rendered using static templates. See here for more info.