CodeZettaInterview Hub

HTML · Performance · Mid-Level · Best Practice

When should you use loading=lazy on iframes?

Short Interview Answer

For below-the-fold embeds (maps, videos) to reduce initial network/CPU.

Detailed Explanation

Don't lazy the primary above-the-fold embed. Still sandbox/third-party risk remains.

Did you know this answer?