HTML5 application cache based mobile Web cache optimization method

A caching optimization and caching technology, which is applied in special data processing applications, instruments, network data retrieval, etc., can solve the problems of mobile Web cache performance and affect the performance of mobile Web applications, and achieve the effect of avoiding the transmission of redundant resources

Active Publication Date: 2016-05-04
PEKING UNIV
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In practice, due to improper cache configuration by web developers and the existence of a large number of dynamic resources, there are problems with the performance of mobile web caches, resulting in a large number of redundant requests and affecting the performance of mobile web applications

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • HTML5 application cache based mobile Web cache optimization method
  • HTML5 application cache based mobile Web cache optimization method
  • HTML5 application cache based mobile Web cache optimization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] This section uses the website of Peking University School of Information Science and Technology (http: / / eecs.pku.edu.cn) to give an example of using this caching method, and the process flow of the processing method is shown in the figure. This website is the portal website of the School of Information Science and Technology of Peking University, which includes modules such as school news, notice announcements, educational affairs notices, and lecture information.

[0036] First, add a command to call the JavaScript library in the HTML file of the original webpage, provide the task of automatically intercepting URL parsing requests, and interact with the cache list.

[0037] Next, a proxy page is generated, and the URL of the original home page is resolved to the proxy page, and the original home page becomes a resource requested from the proxy page. At this time, when accessing the original URL, such as http: / / eecs.pku.edu.cn, the client first requests the proxy page, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an HTML5 application cache based mobile Web cache optimization method. The method comprises the steps of 1) regularly crawling resource information contained in a set mobile Web application by a server; 2) mapping resources same in content but corresponding to different URLs into same resources; 3) selecting a group of stable resources, configuring the resources into a cache resource list, and generating a resource mapping file; 4) setting a JavaScript runtime library, and adding a calling instruction of the runtime library into each target page; and 5) generating an agent page for each target page, analyzing a URL of the target page in a corresponding agent page, querying the resource mapping file according to the requested resource when accessing to a target page, reading a matched cache resource from the cache resource list according to a query result, and loading the matched cache resource to the agent page. The method shortens the access time of the mobile Web application, saves the data flow of the mobile Web application, and improves the user experience of a mobile device.

Description

technical field [0001] The invention relates to a mobile Web cache optimization method based on HTML5 application cache, and belongs to the technical field of software. Background technique [0002] Web applications are application software developed using Web technologies such as HTML, JavaScript, and CSS, and accessed through browsers. They are one of the most important software forms on mobile devices. Compared with traditional personal computers, mobile devices have limited computing power and poor network environment. The access speed of mobile web applications is slow and consumes a lot of data traffic, which seriously affects the user experience of mobile web applications. Caching is an important technical means to improve the performance of web applications. A web application consists of many web resources. The cache is to store the downloaded web resources in the local space. When the cached resources are requested again, they can be directly loaded from the local....

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/9574G06F16/951G06F9/45529G06F8/65H04W4/18H04L67/02H04L67/563H04L67/568G06F9/44568
Inventor 黄罡刘譞哲马郓东帅亮梅宏
Owner PEKING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products