[#82] added caching for thumbnails