read-cache: add index.version config variable