You're looking for "server side includes." Most HTTP web servers provide such a feature, as do many CDNs. Here's the Nginx module's documentation:
I think the post you're replying to was trying to make the point "it's worth the complexity"
include("header.html");