slightly changing the way in which the navigator cache is called