cache plugin resource