Why you shouldn't provision your own web server
I didn’t want to create a smart web server, because I know where this leads me to. I will always be tempted to add logic into it and this will make it harder and harder to push everything to a CDN. Unless I feel brave enough to build my own CDN client-side routing is the way to go. Also in every company, I worked on the web server was an obstacle that came in the way. It either took too long to compute stuff on it or it was a security risk and or we couldn’t update the protocol version on it. So say no to authored web servers.
For reuse, we can put some ease on us by using server-side logic and templates, if not done while build-step keep in mind this makes it harder for us to use CDNs and who doesn’t love some JAM. Also, this doesn’t lower the bandwidth cost for the client.