Smarter replacement of view model caches