Cache show ids to the config directory

Ref #13