Porting over Mesh cache from View2.