Unlock instant, AI-driven research and patent intelligence for your innovation.

Dynamic page cache method and system based on session

A dynamic page and caching technology, applied in transmission systems, special data processing applications, instruments, etc., can solve the problems of complex dynamic page caching technology, impractical CDN, affecting CDN acceleration effect, etc. effect of ability

Inactive Publication Date: 2013-04-03
CHINANETCENT TECH
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] (1) If the dynamic pages that can be logged in are not cached, the acceleration effect of the CDN will be affected, especially under the trend of more and more dynamic web page applications, this impact will become greater and greater
[0008] (2) The use of ESI technology requires modifying the original HTML page on the source site to mark the cacheable and non-cacheable content, which is not practical for CDNs. On the one hand, CDN manufacturers do not have such authority; on the other hand, This requires modification of the page of the origin site, increasing the burden on CDN customers
[0009] (3) The dynamic page caching technology based on page analysis is very complex, and needs to analyze page content, which affects service efficiency and prolongs response time

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
  • Dynamic page cache method and system based on session
  • Dynamic page cache method and system based on session

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0027] Embodiment of session-based dynamic page caching method

[0028] figure 1 An embodiment of the session-based dynamic page caching method of the present invention is shown. See figure 1 , the implementation steps of the dynamic page caching method in this embodiment are described in detail as follows.

[0029] Step S10: Obtain the specific difference part in the request header according to the user's HTTP request.

[0030] When accessing a log-in dynamic page, the request headers of requests sent by logged-in users and requests sent by non-logged-in users must contain a certain difference (data that stores user-specific information on the local terminal), and this difference is used to distinguish users. Identifier of the login state.

[0031] Step S11: Configuring a caching policy.

[0032] The cache policy is for the same URL:

[0033] ...

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 discloses a dynamic page cache method and system based on a session. According to the invention, the caching problem of a dynamic page capable of being logged in is solved, and the capability of caching the dynamic page capable of being logged in is enhanced while the CDN (content delivery network) service efficiency is not affected. The invention has the technical scheme that the method comprises the following steps of: comparing the request headers of HTTP (hyper text transport protocol) requests when a logged-in user and a non-logged-in user request a same website; obtaining the specific difference part of a website server, which is used for judging the user logging-in state; caching a page given by a source station when the user does not log in; according to whether the request header in the HTTP request of each user comprises the specific difference part, judging whether the user logs in or not; for the logged-in user, backing to the source to obtain a response and sending the response to the user; and for the non-logged-in user, responding by a cached page.

Description

technical field [0001] The invention relates to dynamic page caching technology, in particular to a dynamic page caching method and system of a content distribution network (CDN). Background technique [0002] Most websites include a user login system. For the same URL, the HTTP server may respond to different pages for logged-in and non-logged-in users. For example, when accessing the homepage, the login page is displayed for non-logged-in users, and the personal homepage is displayed for logged-in users. We call such pages dynamic pages that can be logged on. [0003] Current CDNs do not distinguish between loginable dynamic pages and other types of dynamic pages, either do not cache such pages, or use complex dynamic page caching techniques to cache all types of dynamic pages. Existing dynamic page caching technologies include: [0004] (1) ESI (Edge Side Include): By using markup language to describe the content fragments in the web page that can be accelerated and ca...

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/30H04L29/08
Inventor 洪珂郭文强程豪
Owner CHINANETCENT TECH