开发者

Can re-factoring of HTML 4 into HTML5 increase the performance of website?

开发者 https://www.devze.com 2023-03-04 13:10 出处:网络
Can using HTML5 things increase the speed and performance of website? Or it will only increase the semanticists and add new开发者_开发知识库 technology and user experience.HTML 5 adds some new contro

Can using HTML5 things increase the speed and performance of website?

Or it will only increase the semanticists and add new开发者_开发知识库 technology and user experience.


HTML 5 adds some new controls that browsers can implement natively (like calenders). Using these will improve performance over JavaScript implemented controls (but in general, you will not notice much difference).


No doubt a lot of new elements are introduced in HTML5, but that should not have any direct considerable effect on the overall speed or performance of the website. In HTML5, Strict parsing and lexing rules are introduced to handle any errors, and the introduction of multimedia elements, <audio>, <video> (that wouldn't require support from third party software), the performance or the threshold efficiency is indirectly improved.


Well there is not a lot in HTML 5 to make things faster directly other than the new elements mentioned and maybe local storage. In stead the reality is that most HTML 5 supporting browsers are faster, some significantly. So by going to HTML 5 and forcing a user upgrade your your client part of an app should be faster.

For example look into the bleeding edge browsers acceleration via GPUs and better multiple threading. So your client might be faster by default simply because you would end up executing on a better browser. Combined with new features in HTML you may bel able to speed up Your pages.

0

精彩评论

暂无评论...
验证码 换一张
取 消