default cache config to be passed in seperately