Method and device for snapshoting page

A technology for pages and page resources, applied in the field of page snapshots based on page anti-delay loading, can solve the problems of page snapshot application interference and page snapshot quality degradation, and achieve the effect of improving quality

Active Publication Date: 2014-10-15
ALIBABA GRP HLDG LTD
View PDF1 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The main purpose of this application is to provide a method and device for taking page snapshots, so as to solve the problems existing in the prior art that the application of page snapshots is interfered by using the delay loading technology for pages containing a large number of page resources, resulting in a decrease in the quality of page snapshots question

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The main idea of ​​the present application is to load a page and render the page; perform the page snapshot anti-interference step, wherein the page snapshot anti-interference step includes: searching for the Delay loading the page resource of the attribute, modifying the found attribute of the page resource, and triggering the rendering of the page resource; and taking a page snapshot of the page after the rendering of the page resource is completed.

[0030] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0031] According to an embodiment of the present application, a method for taking a page snapshot is provided.

[0032] refer to figure 2 , figure 2 It is a flowchart of a method for taking a page snapshot according to an embodiment of the present application.

[0033] At s...

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 relates a method and a device for snapshoting a page. The method comprises the following steps: loading the page and rendering the page; performing the page snapshotting anti-interference step; performing page snapshotting on the page subjected to the rendering of page resources; the page snapshotting anti-interference step comprises the following specific steps: traversing page resource attributes in the page to search page resources with the lazy load attribute, modifying the attributes of all the searched page resources, and triggering the rendering of the page resources. According to the method and the device disclosed by the invention, during page snapshotting, the performing of the page snapshotting anti-interference step is triggered for the page resources adopting a lazy load technology by using a triggered preset event, so that the lazy load is eliminated for the lazily-loaded resources in the page and further normal rendering of the resources is automatically realized, the anti-interference technology in the page snapshotting process is realized, and the page snapshotting quality is improved.

Description

technical field [0001] The present application relates to the technical field of webpages, in particular to a method and device for performing page snapshots based on page anti-delay loading. Background technique [0002] With the development of the Internet, users have higher and higher requirements for the appearance of the website. There are more and more resources in each page, and the page is also getting bigger and bigger. When the user's network condition is not good, the page loading speed will slow down. , which can lead to poor user experience and can cause excessive load on the web server. [0003] In order to solve this problem, front-end developers use lazy loading technology in pages with a large number of page resources, and optimize user experience by using lazy loading technology during page loading. [0004] Lazy loading, also known as lazy loading, was proposed to avoid unnecessary performance overhead. The so-called lazy loading means that the data loadi...

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
CPCG06F17/30905G06F17/2247G06F16/9577G06F16/9574
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