Method and system for increasing page loading rate

一种页面加载、页面的技术,应用在互联网领域,能够解决阻塞、超时、用户体验差等问题

Active Publication Date: 2015-04-29
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 51 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] Among them, the current application server renders the entire page through the thread pool, but when the number of access page requests exceeds the maximum value of the thread pool, the rendering tasks not allocated to thread resources will be blocked, causing the page to fail to load or the loading time to time out. extremely bad

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 system for increasing page loading rate
  • Method and system for increasing page loading rate
  • Method and system for increasing page loading rate

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0066] The embodiment of the present invention provides a method for improving page loading speed, which is applicable to the situation of loading a page, such as figure 2 As shown, the method specifically includes:

[0067] In step S201, the CDN receives the page frame request sent by the browser, and initiates the page frame request to the server.

[0068] In step S201, based on Ajax (Asynchronous JavaScript And XML, asynchronous JavaScript and XML, asynchronous JavaScript and XML, asynchronous JavaScript and XML), the webpage development technology for creating interactive webpage applications can realize asynchronous page updating. That is, the page frame can be rendered first, and then the page module can be rendered, and the rendered page frame and the rendered page module can be combined into a page. Therefore, the content delivery network (CDN, Content Delivery Network) can receive the page frame request sent by the browser. The CDN can determine whether there is a ...

Embodiment 2

[0083] The embodiment of the present invention provides a method for improving page loading speed, which is applicable to loading pages, and the method is based on a server including a Web (Internet) server and an application server, such as image 3 As shown, the method specifically includes:

[0084] In step S301, a content distribution network (CDN) receives a page frame request.

[0085] In step S302, the content distribution network judges whether there is a page frame cached, if not, execute step S303; if yes, execute step S308.

[0086] Step S303, the content distribution network sends a page frame request to the Internet, and the Internet (Web) server receives the page frame request sent by the content distribution network.

[0087] In step S303, the Internet server is preferably Nginx (a lightweight web server / reverse proxy server and email proxy server), after Nginx accepts the page frame request, if the page frame request meets the matching rules of Nginx, then Ex...

Embodiment 3

[0108] Embodiments of the present invention provide a system for improving page loading speed, such as Figure 4 As shown, it includes: a content distribution network 41 , a server 42 and a browser 43 .

[0109] Among them, the content distribution network 41 is used to receive the page frame request sent by the browser 43, and initiate a page frame request to the server 42; the server 42 is used to render the page frame according to the page frame request, and distribute the rendered page frame through content The network 41 sends to the browser 43; the browser 43 is used to parse the rendered page frame to obtain the page module identification, and initiates a page module request including the page module identification to the server 42 through the content distribution network 41; then the server 42, It is used to render the page module according to the page module request, and send the rendered page module to the content distribution network 41; the content distribution net...

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 discloses a method and a system for increasing a page loading rate. The method comprises the following steps: a content distribution network receives a page framework request sent by a browser, and launches a page framework request to a server; the server renders the page framework according to the page framework request, and sends the rendered page framework to the browser through the content distribution network; the browser analyzes the rendered page framework to obtain a page module identifier and launches the page module request including the page module identifier to the server through the content distribution network; the server renders the page module according to the page framework request, and sends the rendered page module to the content distribution network; the content distribution network fills the rendered page module into the rendered page framework to form a page according to the page module identifier, and sends the page to the browser. According to the method and the system disclosed by the embodiment of the invention, asynchronous rendering of the page framework and the page module is realized, so that the page loading rate is increased.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of the Internet, and in particular to a method and system for improving page loading speed. Background technique [0002] In the current network environment, the HTML (HyperText Mark-up Language) pages accessed by users may not change for a long time, so page static technology can be used to process pages to increase the speed of webpage loading. [0003] Page static technology is to cache the pages dynamically rendered by the application server on the hard disk of the Web (Internet) server. When the user requests to access the page, the page cached in the hard disk is directly read without rendering by the application server. [0004] At present, based on page static technology, the main process of users accessing pages is as follows: figure 1 Shown: [0005] Step S101, the CDN (Content Delivery Network, content distribution network) cluster receives the access page request sent ...

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/9574H04L67/02H04L67/568G06F16/986G06F15/16G06F16/00H04L67/1001
Inventor 雷宁
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO 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