<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lazyload on Commentary of Takao</title><link>https://takao.blog/es/tags/lazyload/</link><description>Recent content in Lazyload on Commentary of Takao</description><generator>Hugo -- gohugo.io</generator><language>es</language><copyright>Commentary of Takao</copyright><lastBuildDate>Sun, 12 Jul 2026 04:12:51 +0900</lastBuildDate><atom:link href="https://takao.blog/es/tags/lazyload/index.xml" rel="self" type="application/rss+xml"/><item><title>Lazy loading de iframes para rendimiento web</title><link>https://takao.blog/es/web/web-performance-lazyloading-iframe/</link><pubDate>Sun, 20 Jul 2025 00:00:00 +0900</pubDate><guid>https://takao.blog/es/web/web-performance-lazyloading-iframe/</guid><description>&lt;img src="https://takao.blog/img/thumbnail/web-performance-lazyloading-iframe-es.png" alt="Featured image of post Lazy loading de iframes para rendimiento web" /&gt;&lt;p&gt;Los iframes cargan documentos completos (HTML, CSS, JS) que pueden pesar varios MB. El lazy loading nativo y técnicas avanzadas mejoran el rendimiento.&lt;/p&gt;
&lt;h2 id="loadinglazy-nativo"&gt;loading=lazy nativo
&lt;/h2&gt;&lt;p&gt;&lt;code&gt;&amp;lt;iframe loading=&amp;quot;lazy&amp;quot; src=&amp;quot;...&amp;quot;&amp;gt;&lt;/code&gt; difiere la carga hasta que el iframe está cerca del viewport. Soporte universal en navegadores modernos.&lt;/p&gt;
&lt;h2 id="intersection-observer"&gt;Intersection Observer
&lt;/h2&gt;&lt;p&gt;Carga el iframe solo cuando es visible. Control granular: margen de precarga, umbral de visibilidad. Ideal para integraciones complejas.&lt;/p&gt;
&lt;h2 id="alternativas-a-iframes"&gt;Alternativas a iframes
&lt;/h2&gt;&lt;p&gt;Embed con JavaScript ligero (widget API). Web Components. Contenido precargado y mostrado bajo demanda. Prefiere APIs sobre iframes.&lt;/p&gt;</description></item></channel></rss>