store revision cache in getRevision() if not yet exists.