[ignore] cache keys to read them only once from the hard disc

just for jenkins, original PR: https://github.com/owncloud/core/pull/12961