added cache and allowed method confs