REST based in-memory cache