read the wavelength unit from a file only if needed
make the `dict` property of BaseCache private