cache config requests and validate type if type given

addressing concerns of PR #9