-
Notifications
You must be signed in to change notification settings - Fork 7
Description
If you create a blog post with an image in it, then the dashlet will cause that image to be loaded when it renders even though it isn't shown. If your blog posts tend to have a few large images in them, then this really slows down the loading of the dashboard
Step 1: Create a blog post in the site with the following contents:
<p><img src="https://www.alfresco.com/sites/www.alfresco.com/files/product-section-quotation-desktop-background-2.jpg" alt="Alfresco Image" width="1440" height="335" /></p>
<p>This is a short blog post, which starts with an image</p>
<p>Blah blah blah, more text here</p>
Step 2: Enable the Site Blogs dashlet on your dashboard
Step 3: Enable the network tab of Firebug / Developer tools / etc
Step 4: Refresh the dashboard
Step 5: See that no images are shown in the dashlet, just the text (good, expected)
Step 6: Review network tab, and see that https://www.alfresco.com/sites/www.alfresco.com/files/product-section-quotation-desktop-background-2.jpg was fetched even though it isn't displayed (bad, unexpected, potentially slow)