Method and device for page loading

A page loading and page technology, applied in other database retrieval, network data browsing optimization, website content management and other directions, can solve the problems of prolonging page loading and rendering completion time, unable to achieve second output, reducing page visibility time, speeding up Load time, the effect of reducing page availability time

Active Publication Date: 2022-07-08
ALIBABA GRP HLDG LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Traditional H5 page loading and rendering needs to go through four steps: HTML loading, CSS / JS loading, data request, and page rendering. However, in the case of an unsatisfactory network environment, excessive resource loading and initialization will greatly prolong page loading and render completion time
[0004] For user experience, the page display time after clicking and jumping is a very key indicator. For this reason, each container has implemented a static resource offline solution (offline HTML / JS / CSS files to the local), reducing resource loading time, but data interface access is still subject to network conditions, such as product list pages and other scene pages are still unable to achieve seconds

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
  • Method and device for page loading
  • Method and device for page loading
  • Method and device for page loading

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0086] The first embodiment of the present application provides a method for loading a page, which is mainly applied to a scenario where a mobile client uses an Html page. In many cases, the mobile client uses Html as a way of displaying page information. The page loading method provided in this application is mainly applied to the above scenarios. In addition, by using the page loading method provided by the present application, the time for loading page information can be shortened, and the loading information required by the Html page can be loaded in the shortest time, so as to render the Html page.

[0087] This method is a double-cache scheme based on the interface data and the DOM structure, that is, the DOM structure and the interface data are cached at the same time. The second-out solution based on DOM cache can complete the first screen rendering at the fastest speed. At the same time, for scenarios that rely on interface data, the page visibility time and page ava...

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 present application discloses a method and device for page loading. The method has a cache mode of structure cache and data cache, including: receiving a page load request, where the page load request includes request parameters, and the request parameters include the structure cache and the data cache. An associated identifier; according to the identifier of the request parameter, the structure data is obtained from the structure cache, and the interface data is obtained from the data cache; the page to be loaded is rendered according to the obtained structure data and interface data. This method is a double-cache scheme based on interface data and DOM structure, and a second-out scheme based on DOM structure cache, which can complete the first screen rendering at the fastest speed. At the same time, for scenarios that rely on interface data, the page visibility time and page availability time of secondary loading are greatly reduced, and the loading time of the first screen of Html pages is accelerated.

Description

technical field [0001] The present application relates to the technical field of page loading in web pages, in particular to a method for page loading. The present application also relates to a device for page loading. Background technique [0002] A hybrid development solution for various existing wireless clients, such as mobile Taobao, Alipay, Alitrip, etc., and a large number of Html5 (hereinafter referred to as H5) are used in the client as the page display container. [0003] Traditional H5 page loading and rendering needs to go through four steps: HTML loading, CSS / JS loading, data request, and page rendering. However, in the case of an unsatisfactory network environment, excessive resource loading and initialization will greatly prolong page loading and time. Rendering completion time. [0004] For user experience, the page display time after clicking and jumping is a very key indicator. For this reason, each container implements an offline solution for static reso...

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 Patents(China)
IPC IPC(8): G06F16/958G06F16/957
Inventor 张舒迪
Owner ALIBABA GRP HLDG LTD
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