made cache proxy using dictionary