If you don't require bi-directional communication (e.g. the server will update something with a timer, without the browser doing a request), I don't see the need to use websockets.
You can do the replace of the place-holders in the handler that receives the request (your handler returns 'static' content, but this 'static' content can come from your database).
If however your web-theme does require to run some javascript (e.g. a special type of button you inject in the page that requires to run some initialization javascript), websockets are great. You keep a connection line to the browser open and both the server and browser can talk with each other using javascript.