首页>
外国专利>
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.
展开▼