175 instance cache

https://github.com/kfgodel/diamond/issues/175