Add ims caching