adapt cache connect middleware to use new getSet() method