With the new thumbnail view, the attachments can be previewed by clicking on a button. The rendering is done for all documents ahead of time. It should be done only when showing the preview to avoid using too much resources.