accessing cache from outside