Web page loading method, intermediate server, and web page loading system

A web page loading method and intermediate server technology, applied in the Internet field, can solve problems affecting browser execution time, blocking a large number of resource requests, and longer page loading time, so as to reduce technology development time, provide high-quality Internet experience, and improve page loading speed effect

Active Publication Date: 2019-02-15
CHINANETCENT TECH
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the way JS scripts work in browsers, by default, when encountering a piece of script, the browser needs to stop and wait for it to complete before it can finish drawing the page, which means that files are loaded and executed one by one, if javascript loads Or the execution time is too long, which will block a large number of subsequent resource requests, resulting in longer page loading time
This will affect the execution time of the browser. When the page structure is unreasonable and the JS script is placed in the front, the first screen will be loaded slowly, the picture cannot be displayed, a white screen will be displayed for a long time, and the user experience will be poor.

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
  • Web page loading method, intermediate server, and web page loading system
  • Web page loading method, intermediate server, and web page loading system
  • Web page loading method, intermediate server, and web page loading system

Examples

Experimental program
Comparison scheme
Effect test

specific example

[0043] In this embodiment, "javascript" is rewritten into a preset character string, such as "comet", so that the browser cannot recognize the JS script. Specific examples are as follows:

[0044] (1) Ordinary script: rewritten as:

[0045]

[0046] (2) Delay script: rewritten as:

[0047]

[0048] In addition, in addition to the "javascript" in the above-mentioned inline tags that need to be changed, the "javascript" in the external link tags can also be changed. The specific examples are as follows:

[0049] (1) Ordinary script: rewritten as:

[0050]

[0051] (2) Delay script: rewritten as:

[0052]

[0053] It should also be noted that the default string is used as a new convention to identify JS scripts, so after rewriting, when the scheduling script needs to execute asynchronous add-ons, it can use the preset string to identify the original JS script, ensuring that JS The script is successfully executed.

[0054] Step 203 is similar to step 102 i...

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 embodiment of the invention relates to the Internet field, and discloses a web page loading method, an intermediate server and a web page loading system. The web page loading method of the invention is applied to an intermediate server. The web page loading method comprises the following steps: when receiving a page loading request from a user terminal, obtaining a loading list of a corresponding page according to the loading request, wherein the loading list comprises a plurality of asynchronous loading items; A scheduling script is added to the loading list, wherein, the scheduling script is used for simulating the loading process of the page after the page loading is completed, and executing an asynchronous add-in during the simulated loading process; The load list after adding thescheduling script is fed back to the user terminal, so that the user terminal requests each add-on on the load list to carry out page load, so as to improve the loading speed of the web page.

Description

technical field [0001] The embodiment of the present invention relates to the Internet field, and in particular to web page loading technology. Background technique [0002] There are multiple resources in a page, such as HTML, JS (JavaScript), CSS (Cascading Style Sheet, Cascading Style Sheet), and IMAGE (picture). Script (Script) is an extension of batch files, and it is a program saved in plain text. Generally speaking, a computer script program is a combination of a series of operations that control the computer to perform operations, in which certain logical branches can be realized. . There are various elements in a page, such as HTML, JS (the abbreviation of JavaScript), CSS (Cascading Style Sheet, cascading style sheet), pictures and so on. [0003] In the way JS scripts work in browsers, by default, when a piece of script is encountered, the browser needs to stop and wait for it to complete before it can finish drawing the page, which means that files are loaded a...

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): G06F16/957
CPCG06F16/957G06F16/9574G06F16/958G06F16/9577G06F9/44521
Inventor 陈龙
Owner CHINANETCENT TECH
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