×

A Mobile Web Cache Optimization Method Based on HTML5 Application Caching

  • US 20180285470A1
  • Filed: 09/07/2016
  • Published: 10/04/2018
  • Est. Priority Date: 12/23/2015
  • Status: Abandoned Application
First Claim
Patent Images

1. A method for optimizing mobile web cache based on HTML5 application cache, comprising the steps of:

  • 1) crawling resources of a mobile web application by a server at predetermined interval to obtain the resource information;

    2) mapping the resources having same content but different URLs to a same resource by the server;

    3) predicting a time duration in which each of the resources is to be unchanged based on the resource information;

    selecting a stable set of resources to configure in a cache resource list in Manifest file associated with the HTML5 application cache; and

    generate a resource mapping file to preserve mapping relationship between the resources and corresponding URLs;

    4) setting a JavaScript runtime library;

    invoking a call command for the JavaScript runtime library in each target page;

    automatically blocking a URL resolution request of a target page when the target page is assessed by a client browser, wherein the target page is a page of a mobile web application, each target page associated with a number of resources; and

    5) generating a proxy page for a target page;

    redirecting URL of the target page to the corresponding proxy page;

    accessing a target page through the client browser including a requested resource;

    querying the resource mapping file according to the requested resource to find a mapped resource; and

    retrieving a mapped resource from the cache resource list in the Manifest file and loading the mapped resource to the proxy page.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×