Updated persistent disk cache code