cache segment_keys method result