change production caching from file to memory