begin the transition from $resource wrap to $resource replacement with cache