摘要
为提高嵌入式浏览器的页面加载速度,研究WebKit网络资源下载的流程,分析HTTP协议栈中缓存控制原理,提出一种WebKit内核的嵌入式浏览器磁盘缓存方法。设计磁盘缓存快速映射算法,在网络资源的URL与数据之间建立映射关系。为防止磁盘缓存存储空间过载,结合LRU-K算法和缓存资源的优先级给出磁盘缓存置换算法,提出了磁盘缓存系统架构及其实现方案,在家庭网络环境中进行性能评估。实验结果表明,浏览器加载速度提升了3.19倍,增强了用户体验。
To improve the page loading speed of embedded browser,the WebKit resource download process was studied and the cache control principle of HTTP protocol stack was analyzed.Based on these,an method for WebKit kernel embedded browser disk cache was proposed.In the method,a disk cache fast mapping algorithm was designed to establish the mapping between the Web resource URL and data.To prevent the disk cache memory overload,a disk cache replacement algorithm based on the combination of the LRU-K algorithm and cache resources priority was given,the disk cache system architecture and implementation scheme were presented and the performance evaluation was done in the home network environment.Experimental results show that the method proposed makes the browser loading speed increase by 3.19 times,enhancing the user experience.
出处
《计算机工程与设计》
北大核心
2015年第3期624-629,共6页
Computer Engineering and Design
基金
国家科技支撑计划课题基金项目(2012BAH73F01)
中科院先导专项课题基金项目(XDA06040501)