Implemented more checks for the configuration cache handler.