Reduce file_get_contents warnings in cache