full path cache should be a class member variable.