Added a cache to read_long_long_phys

The cache reduces the number of disk reads, improving overall performance.