integrate cache_index to hash_reader, default is disabled