Cache thumbnails