HubL updates you can leverage to improve site performance
Announced: January 6, 2021
Live: January 6, 2021
Today we're introducing some updates to commonly used HubL tags and functions that you can use to improve performance on your HubSpot websites.
The Image HubL tags have been updated to support the
loading attribute. The
loading attribute for
img HTML elements tells browsers to use browser-based lazy loading of assets on your website. This can have significant positive effects on page performance.
require_js function has been updated to add support for the
defer attributes to the script tags generated by the function.
To stay up to date with the latest updates make sure to subscribe to the changelog.