摘要
随着现代Web架构的演进,单页应用逐渐成为业界流行Web应用标准。论文通过分析Node.js同构Web架构,以及浏览器关键渲染路径,提出了一种加速单页应用的首屏渲染页面的策略:首屏数据并行预加载策略。该策略具有实用性强,应用成本低等特点,在实际业务系统中的表现优异。在文本所提及的"电子合同系统"中,该策略的应用使得系统首屏时间减少约1050ms。
With the development of modern Web architecture,single page application is becoming the standard of modern Web applications. By analyzing isomorphic Web architecture based on Node.js and the critical rendering path of modern browser, this paper comes up with a strategy aiming at improving the rendering speed of SPA(Single Page Application):parallel prefetching initial data strategy. This strategy performs well in practice,and is characterized with strong practicality and low costs. The applica. tion of this strategy in the Electronic Cooperation System which mentions below reduce about 1050ms loading time of the initial page rendering.
作者
闫兴亚
潘治颖
黄姝琦
YAN Xingya;PAN Zhiying;HUANG Shuqi(School of Computer Science & Technology,Xi'an University of Posts & Telecommunications,Xi'an 710061)
出处
《计算机与数字工程》
2019年第5期1270-1274,共5页
Computer & Digital Engineering
关键词
同构Web架构
单页应用
并行式预加载
关键渲染路径
isomorphic Web application
sing page application(spa)
parallel prefetching initial data
critical rendering path