首页> 外国专利> MOBILE WEB CACHING OPTIMIZATION METHOD BASED ON HTML5 APPLICATION CACHING

MOBILE WEB CACHING OPTIMIZATION METHOD BASED ON HTML5 APPLICATION CACHING

机译:基于HTML5应用程序缓存的移动Web缓存优化方法

摘要

A mobile Web caching optimization method based on HTML5 application caching. The method comprises: 1) a server side regularly crawling resource information contained in a set mobile Web application; 2) mapping as a same resource resources having same content but corresponding to different URLs; 3) selecting a group of stable resources, allocating the resources into a cached-resource list, and generating a resource mapping file; 4) setting a JavaScript runtime library, and adding an invoking instruction of the runtime library into each target page; and 5) generating an agent page for each target page, and parsing a URL of the target page into a corresponding agent page, then, when a target page is accessed, querying the resource mapping file according to the requested resource, reading a matching cached-resource from the cached-resource list according to the query result, and loading the matching cached-resource to the agent page. The method reduces mobile Web application access time and data flow, thereby improving user experience of a mobile device.
机译:一种基于HTML5应用程序缓存的移动Web缓存优化方法。该方法包括:1)服务器端定期爬网设置的移动Web应用程序中包含的资源信息; 2)将具有相同内容但对应不同URL的资源映射为相同资源; 3)选择一组稳定的资源,将资源分配到缓存资源列表中,并生成资源映射文件; 4)设置JavaScript运行时库,并在每个目标页面中添加运行时库的调用指令; 5)为每个目标页面生成一个代理页面,并将该目标页面的URL解析为对应的代理页面,然后,在访问目标页面时,根据请求的资源查询资源映射文件,读取匹配的缓存根据查询结果,从缓存资源列表中选择-resource,并将匹配的缓存资源加载到代理页面。该方法减少了移动Web应用程序的访问时间和数据流,从而改善了移动设备的用户体验。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号