model caching
Merge pull request #1 from shmax/implement-model-caching

model caching