Cache static content, corrected on click event