You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The iframe blocks the Onload event on the home page
Search engine retrieval procedures can not read this kind of page, not conducive to SEO
The iframe and the home page share a connection pool, and the browser has restrictions on connections to the same domain, so this affects the parallel loading of the page
You need to consider these two drawbacks before using an iframe. If you need to use an iframe, it's best to add the SRC attribute value to the iframe dynamically through javascript to get around the above two problems
iframe会阻塞主页面的Onload事件
搜索引擎的检索程序无法解读这种页面,不利于SEO
iframe和主页面共享连接池,而浏览器对相同域的连接有限制,所以会影响页面的并行加载
使用iframe之前需要考虑这两个缺点。如果需要使用iframe,最好是通过javascript动态给iframe添加src属性值,这样可以绕开以上两个问题
The text was updated successfully, but these errors were encountered: