The directory is checked to be writable only when required
More efficient config caching