The user should not be required to deal with this. Maybe add some knob (as a global option?) to add the option to make the cache persistent.