Correctly invalidate the cache of the local configuration file