元刷新:计数在页面加载之后或之前开始? [英] Meta Refresh: Count starts after page load or before?

查看:108
本文介绍了元刷新:计数在页面加载之后或之前开始?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 < meta HTTP-EQUIV =REFRESHcontent =0; url = http://www.yourdomain.com/index.html> 

计数是从整页加载还是页面加载开始。



经过测试,它在我看来会在整页加载后开始计数?

在继续之前,此解决方案。我不喜欢Javascripts超时。



这会和IE6很好地发挥作用吗? 解决方案我期望它在这种情况下依赖于实现(尽管这并不意味着所有的实现都不会做太多相同的事情;必须测试)。 HTML5规范在倒计时时不会解决开始。



但它有多重要?时间以秒为单位,无论如何,我们都在拍摄亚秒级的页面加载时间,对吧? ; - )

IE6尊重刷新头,是(包括作为 meta 标签)。


<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/index.html">

Does the count start from full page load or as soon as the page is loading.

Having tested it, it looks to me it starts counting after full page load?

I appreciate a confirm before I continue with this solution. I didn't like Javascripts timeout.

Will this play nicely with IE6?

解决方案

I expect it's implementation-dependent when this happens (although that doesn't mean all implementations don't do much the same thing; one would have to test). The HTML5 spec doesn't address when the countdown begins.

But how much does it really matter? The time is in seconds, and we're all shooting for sub-second page load times anyway, right? ;-)

IE6 respects the refresh header, yes (including as a meta tag).

这篇关于元刷新:计数在页面加载之后或之前开始?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆