Cache images in browser