Production build follow up

First of all, there are few minor outstanding comment on #2604.

When looking at the network traffic using a production build, I noticed that none of our UI images (in /shared and /ui) are being hashed, but it looks like they are being cached properly. We should find a way in which we can make them cacheable and changeable.