Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for fragment nested caching of webpage

A web page and processing method technology, which is applied in the fields of electronic digital data processing, special data processing applications, natural language data processing, etc., can solve the problem of inability to realize subsequent recursive processing of fragmented nested cache and so on.

Inactive Publication Date: 2013-09-25
ALIBABA GRP HLDG LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved in this application is to provide a page cache processing method to solve the technical problem that the fragmented nested cache and its subsequent recursive processing cannot be realized in the prior art

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 fragment nested caching of webpage
  • Method and device for fragment nested caching of webpage
  • Method and device for fragment nested caching of webpage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] figure 2 A flow chart showing Embodiment 1 of a page cache processing method of the present application may include the following steps:

[0054] Step 201: When a request for a web page is received, obtain first-level fragment information included in the web page.

[0055] In this embodiment, if the webpage is determined, the first layer of fragmentation information included in the webpage can also be determined, because the fragmentation format of the same webpage is the same, that is, which webpage needs to be divided into Shards, information such as the location and name of these shards. Among them, each fragment is essentially a placeholder on the web page, and this placeholder can be used on any other web page, and the placeholder will be replaced only when the result of the fragment is finally rendered The specific content of the component slice. Generally, the specific content of the segment refers to the HyperText Mark-up Language (HTML) code corresponding t...

Embodiment 2

[0063] image 3 A flow chart showing Embodiment 2 of a page cache processing method of the present application may include the following steps:

[0064] Step 301: When a request for a web page is received, obtain a uniform resource locator (URL) of the web page.

[0065] In this step, when a web page request is received, a Uniform / Universal Resource Locator (Uniform / Universal Resource Locator, URL) corresponding to the web page is first obtained. Taking the "Baby Details" page in an online trading platform as an example, suppose the URL address of the "Baby Details" page is: xxx.xxx.com / detail.html? id=123.

[0066] Step 302: Query according to the URL of the web page to obtain the template of the web page.

[0067] Because each webpage has a unique URL, and each webpage also has a template, so the template adopted by the webpage can be known according to the URL of the webpage. Assuming that the template information of the "Baby Details" page is "detail.vm", in this step,...

Embodiment 3

[0103] refer to Figure 6 , shows a flow chart of Embodiment 3 of a page cache processing method of the present application. This embodiment can be understood as a specific example of applying the page cache processing method of the present application to practice, and may include the following steps:

[0104] Step 601: When a request for a web page is received, obtain first-level fragmentation information included in the web page.

[0105] Step 602: Query the cache information of the first layer fragment from the configuration server, the cache information includes whether the fragment needs to be cached, and the cache time length information of the fragment that needs to be cached.

[0106]Step 603: Determine whether the first-level fragment needs to be cached according to the cache information of the first-level fragment, and if yes, proceed to step 604; if not, proceed to step 605.

[0107] Step 604: Perform a hash operation on the slice name and slice parameters of the f...

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

Nested fragment caching of web pages is described. In response to receiving a request for a web page, first-level fragment information of the web page is obtained. Based on the first-level fragment information, a fragment analysis process is successively performed for first-level fragments, wherein the fragment analysis process includes rendering the first-level fragments based on preset nesting information of the first-level fragments. The nesting information includes information about whether a current fragment includes other fragments. Results of the fragment analysis process are combined to generate complete content of the first-level fragments of the web page. The exemplary embodiments of the present disclosure not only allow nested fragment caching of a web page, but also recursively obtain HTML codes of each fragment when nested fragment caching of the web page is performed, thus displaying complete content of the web page to a user.

Description

technical field [0001] The present application relates to the field of network data processing, in particular to a processing method and device for segmented nested cache of web pages (WEB). Background technique [0002] When the user requests a web page from the web server for the first time, in order to increase the speed of accessing the web page, usually the web resource browser (such as IE browser) will adopt a cumulative acceleration method to store the content of the web page visited by the user (including pictures and Cookie files, etc.) are stored in the computer, and this storage space in the computer is called IE cache space. Every time you visit a web page in the future, the IE browser will first search this cache space. If the currently accessed content has been cached in it, the IE browser does not need to download this part of the content from the Internet, but reads it directly from the cache to improve access. The speed of the page. [0003] Currently, the...

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): G06F17/30G06F40/143
CPCG06F17/30902G06F17/2247G06F16/9574G06F40/143G06F40/131G06F40/186H04L67/568H04L41/0293H04L67/02
Inventor 岳旭强董旗宇
Owner ALIBABA GRP HLDG LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More