cache resource plugin part2