This turns out to require a bit of a janky workaround, overwriting Express' .render() method. Doesn't seem worth it given the very minimal tradeoff involved, since none of the pages on the site are especially large.
Can always reopen this later if performance becomes an issue.
This turns out to require a bit of a janky workaround, overwriting Express'
.render()
method. Doesn't seem worth it given the very minimal tradeoff involved, since none of the pages on the site are especially large.Can always reopen this later if performance becomes an issue.