Cache thumbnails, use thumbnail files instead of base64 in webkit