Cache build outputs

Cache build outputs into the TMP directory. This should be more useful than just the modified response headers = which can be ignored by browser hard refreshes.

Refs #218