Iframes often slow down the loading of pages because more content needs to be loaded at the same time.
The lazy load feature can improve this by loading the iframe only when needed. Since Wordpress 5.7 normal iframes do get loading="lazy" rendered. In Advanced iFrame you can set this on the basic tab as this is a default HTML attribute. Still there are several issues with this. Below you see the features of the default HTML attribute and also of the additional features of Advanced iFrame pro:
- The iframe is loaded when the users scrolls nearby (supported by loading="lazy" and Advanced iFrame pro)
- ALL browsers are supported - not only Chrome based ones! See https://caniuse.com/loading-lazy-attr (supported only by Advanced iFrame pro)
- The iframe can be loaded after the parent page is loaded (supported only by Advanced iFrame pro)
- The iframe cam be loaded manually (supported only by Advanced iFrame pro)
- The threshold when the iframe should be loaded can be configured (supported only by Advanced iFrame pro)
- The iframe can fade in (supported only by Advanced iFrame pro)
- The iframe space can be reserved or not (supported only by Advanced iFrame pro)
If you enable the advanced lazy load, the the HTML lazy loading on the basic tab is disabled automatically. This feature is disabled in the block editor.', 'advanced-iframe');
echo '';
aiPostboxClose();
} ?>