'Load data to handler cache'

def _cache(self):

    self.ref2recog = self.obj.attributes.get('_recog_ref2recog', default={})
    obj2regex = self.obj.attributes.get('_recog_obj2regex', default={})
    obj2recog = self.obj.attributes.get('_recog_obj2recog', default={})
    self.obj2regex = dict(((obj, re.compile(regex, _RE_FLAGS)) for (obj, regex) in obj2regex.items() if obj))
    self.obj2recog = dict(((obj, recog) for (obj, recog) in obj2recog.items() if obj))
