CN113468456B - Webpage rendering method and device, electronic equipment and computer-readable storage medium - Google Patents

Webpage rendering method and device, electronic equipment and computer-readable storage medium Download PDF

Info

Publication number
CN113468456B
CN113468456B CN202110786937.6A CN202110786937A CN113468456B CN 113468456 B CN113468456 B CN 113468456B CN 202110786937 A CN202110786937 A CN 202110786937A CN 113468456 B CN113468456 B CN 113468456B
Authority
CN
China
Prior art keywords
resource data
static resource
client
server
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110786937.6A
Other languages
Chinese (zh)
Other versions
CN113468456A (en
Inventor
尤海洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
ICBC Technology Co Ltd
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
ICBC Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC, ICBC Technology Co Ltd filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110786937.6A priority Critical patent/CN113468456B/en
Publication of CN113468456A publication Critical patent/CN113468456A/en
Application granted granted Critical
Publication of CN113468456B publication Critical patent/CN113468456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to the technical field of big data, and can be used in the technical field of finance. The method comprises the following steps: receiving an access request aiming at a target webpage from a client; responding to the access request, and judging whether static resource data related to the target webpage exists in a local cache of the data processing service cluster; under the condition that the static resource data do not exist in the local cache, acquiring the static resource data from the shared storage server and caching the static resource data to the local of the processing service cluster; acquiring dynamic resource data related to a target webpage from a business server; and processing the static resource data and the dynamic resource data and returning the processed static resource data and the dynamic resource data to the client so that the client can execute webpage rendering operation related to the target webpage according to the processed static resource data and the processed dynamic resource data.

Description

Webpage rendering method and device, electronic equipment and computer-readable storage medium
Technical Field
The present disclosure relates to the field of big data technologies, and more particularly, to a method and an apparatus for rendering a webpage, an electronic device, a computer-readable storage medium, and a computer program product.
Background
In the design of a front-end project, a client rendering mode or a server rendering mode can be adopted, at present, when a user accesses a website through a browser, the user usually forwards a request through Ngix and directly accesses static resources on a server, the resource cache is not realized, the front-end service performance is poor, the modes of client rendering and server rendering are difficult to be compatible at the same time, and under the condition that the scale of the user is rapidly increased, high concurrency and high availability also become the hidden requirements of the front-end project, and the existing design scheme of the front-end project cannot meet the requirement of rapidly expanding server resources by using a container technology.
Disclosure of Invention
In view of the above, the present disclosure provides a webpage rendering method and apparatus, an electronic device, a computer-readable storage medium, and a computer program product.
One aspect of the present disclosure provides a web page rendering method, including:
receiving an access request aiming at a target webpage from a client;
responding to the access request, and judging whether static resource data related to the target webpage exists in a local cache of the data processing service cluster;
under the condition that static resource data do not exist in the local cache, obtaining the static resource data from the shared storage server and caching the static resource data to the local of the processing service cluster, wherein the static resource data are obtained by the shared storage server from the cloud server after being uploaded to the cloud server through the publishing system;
acquiring dynamic resource data related to a target webpage from a business server;
and processing the static resource data and the dynamic resource data and returning the processed static resource data and the dynamic resource data to the client so that the client can execute webpage rendering operation related to the target webpage according to the processed static resource data and the processed dynamic resource data.
According to an embodiment of the present disclosure, wherein:
the shared storage server and the data processing service cluster are arranged in the same internal network area.
According to an embodiment of the present disclosure, the method further includes:
and under the condition that the static resource data exist in the local cache, acquiring the static resource data from the local cache.
According to an embodiment of the present disclosure, processing the static resource data and the dynamic resource data and returning the processed static resource data and dynamic resource data to the client, so that the client performs a webpage rendering operation related to the target webpage according to the processed static resource data and dynamic resource data includes:
analyzing the static resource data;
merging the dynamic resource data and the analyzed resource data to generate an HTML file related to the target webpage;
and returning the HTML file to the client so that the client analyzes the HTML file to execute the webpage rendering operation.
According to an embodiment of the present disclosure, the method further includes:
after the static resource data are uploaded to the cloud server through the issuing system, the client side obtains the static resource data from the cloud server.
According to an embodiment of the present disclosure, the method further includes:
acquiring dynamic resource data related to a target webpage from a business server by a client; and executing, by the client, a web page rendering operation associated with the target web page according to the static resource data and the dynamic resource data.
Another aspect of the present disclosure provides a web page rendering apparatus, including a receiving module, a determining module, a first obtaining module, a second obtaining module, and a processing module.
The receiving module is used for receiving an access request aiming at a target webpage from a client;
the judging module is used for responding to the access request and judging whether the local cache of the data processing service cluster has static resource data related to the target webpage or not;
the first obtaining module is used for obtaining static resource data from the shared storage server and caching the static resource data to the local of the processing service cluster under the condition that the static resource data does not exist in the local cache, wherein the static resource data are obtained by the shared storage server from the cloud server after being uploaded to the cloud server through the issuing system;
the second acquisition module is used for acquiring dynamic resource data related to the target webpage from the business server;
and the processing module is used for processing the static resource data and the dynamic resource data and returning the processed static resource data and the dynamic resource data to the client so that the client can execute webpage rendering operation related to the target webpage according to the processed static resource data and the processed dynamic resource data.
According to an embodiment of the present disclosure, wherein: the shared storage server and the data processing service cluster are arranged in the same internal network area.
According to an embodiment of the present disclosure, the first obtaining module is further configured to: and under the condition that the static resource data exist in the local cache, acquiring the static resource data from the local cache.
According to an embodiment of the present disclosure, the processing module includes a parsing unit, a merging unit, and a transmission unit.
The analysis unit is used for analyzing the static resource data; the merging unit is used for merging the dynamic resource data and the analyzed resource data to generate an HTML file related to the target webpage; and the transmission unit is used for returning the HTML file to the client so that the client can analyze the HTML file to execute webpage rendering operation.
According to an embodiment of the present disclosure, the apparatus further includes: and the third acquisition module is used for acquiring the static resource data from the cloud server by the client after the static resource data are uploaded to the cloud server through the release system.
According to the embodiment of the disclosure, the device further comprises a fourth obtaining module and a rendering module.
The fourth acquisition module is used for acquiring dynamic resource data related to the target webpage from the business server by the client; and the rendering module is used for executing webpage rendering operation related to the target webpage by the client according to the static resource data and the dynamic resource data.
Another aspect of the present disclosure provides an electronic device including: one or more processors, and a memory; wherein the memory is for storing one or more programs; wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the web page rendering method as described above.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing the web page rendering method as described above when executed.
Another aspect of the disclosure provides a computer program product comprising computer executable instructions for implementing the web page rendering method as described above when executed.
According to the embodiment of the disclosure, the static resource data is the data obtained by the shared storage server from the cloud server after being uploaded to the cloud server through the publishing system, and can be compatible in a client rendering scene and a server rendering scene (when the client renders, data is downloaded from the cloud server, when the server renders, data is downloaded from the shared storage server, and the two modes are compatible) at the same time, and the performance of the static resource cache can be improved.
According to the embodiment of the disclosure, because the static resource data is acquired from the shared storage server in real time, the static resource data can be acquired from the shared storage server only when a request comes, backup in each processing server is not needed, capacity expansion of the server is not affected, and the capacity of the static resource cache can be exerted to the maximum extent while the capacity expansion of the front-end service quantity is rapidly realized by using a container on the premise of realizing separation of dynamic and static. When the static resource of the front-end project changes, the cache of all container clone servers can be quickly updated, so that the user can immediately access the latest website content, and the user can access the website content without being aware of the website content.
According to the embodiment of the disclosure, the resource caching can be realized in both the shared storage server and the data processing service cluster by acquiring the static resource data from the shared storage server and caching the static resource data to the local of the processing service cluster.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an exemplary system architecture to which the web page rendering method and apparatus of the present disclosure may be applied;
FIG. 2 is a diagram schematically illustrating webpage rendering performed by a client in the related art;
FIG. 3 is a diagram schematically illustrating a webpage rendering performed by a server in the related art;
FIG. 4 schematically illustrates a flow chart of a method of rendering a web page according to an embodiment of the disclosure;
FIG. 5 schematically shows a timing diagram for online publication of static resource data by a publication system, in accordance with an embodiment of the present disclosure;
FIG. 6 schematically illustrates a diagram of a method for performing web page rendering using a client and a server according to an embodiment of the disclosure;
FIG. 7 schematically illustrates a block diagram of a web page rendering apparatus according to an embodiment of the present disclosure; and
fig. 8 schematically shows a block diagram of an electronic device for implementing a web page rendering method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
It should be noted that the webpage rendering method and device disclosed by the present disclosure may be used in the field of big data technology, financial technology, or any field except the field of big data technology and financial technology, and the application field of the webpage rendering method and device is not limited by the present disclosure.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, necessary security measures are taken, and the customs of the public order is not violated.
The embodiment of the disclosure provides a webpage rendering method, which includes: receiving an access request aiming at a target webpage from a client; responding to the access request, and judging whether static resource data related to the target webpage exists in a local cache of the data processing service cluster; under the condition that static resource data do not exist in the local cache, obtaining the static resource data from the shared storage server and caching the static resource data to the local of the processing service cluster, wherein the static resource data are obtained by the shared storage server from the cloud server after being uploaded to the cloud server through the publishing system; acquiring dynamic resource data related to a target webpage from a business server; and processing the static resource data and the dynamic resource data and returning the processed static resource data and the dynamic resource data to the client so that the client can execute webpage rendering operation related to the target webpage according to the processed static resource data and the processed dynamic resource data.
Before the embodiments of the present disclosure are explained in detail, the system structure and the application scenario related to the method provided by the embodiments of the present disclosure are described as follows.
Fig. 1 schematically illustrates an exemplary system architecture to which the web page rendering method and apparatus of the present disclosure may be applied. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the system architecture according to this embodiment may include a client 101, a data processing service cluster 102, a delivery system 103, a CDN cloud server 104, and a shared storage server 105; the various devices in the system architecture may communicate with one another over a network. The network may include various connection types, such as wired and/or wireless communication links, and so forth.
Alternatively, the data processing service cluster 102, the publication system 103, and the shared storage server 105 may be disposed in the same internal network area.
A user may use a client 101 to interact with the data processing service cluster 102 or CDN cloud server 104 via a network to receive or send messages or the like. Various messenger client applications, such as a shopping-like application, a web browser application, a search-like application, an instant messaging tool, a mailbox client, and/or social platform software, etc. (as examples only) may be installed on the client 101. The client 101 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablets, laptop portable computers, desktop computers, and the like.
The CDN cloud server 104 is a cloud server deployed in a CDN (content Delivery network), which is a content Delivery network, and the CDN is an intelligent virtual network constructed on the basis of the existing network, and by means of edge servers deployed in various places, a user can obtain required content nearby through functional modules of load balancing, content Delivery, scheduling, and the like of a central platform, so that network congestion is reduced, and the access response speed and hit rate of the user are improved. The key technology of the CDN is mainly content storage and distribution technology.
The data processing service cluster 102 is configured to obtain static resource data and dynamic resource data related to a user request, process the static resource data and the dynamic resource data, and return the processed static resource data and dynamic resource data to the client, so that the client performs a webpage rendering operation related to a target webpage according to the processed static resource data and dynamic resource data. The data processing service cluster 102 may employ a node.
When the publishing system 103 is used for system online, the developer publishes the resource data related to the user request through the publishing system.
Shared storage server 105 refers to a parallel bank structure in which two or more machines share a main memory. Each machine may store information in or retrieve information from a main memory. Communication between machines is achieved by accessing shared memory.
After a user initiates an access request for a target webpage through a browser, the browser can perform data rendering and present webpage content to the user. The webpage rendering can be performed by adopting client rendering or server rendering. Wherein, the client renders: also known as front-end rendering, originated from the rise of js, ajax makes front-end rendering more mature. The front end is concentrated on ui, and the back end is concentrated on logic, so that the separation of the front end and the back end is realized in a real sense. And interacting through a well-defined API, providing data by the back end, and generating a DOM by the front end according to the data and inserting the DOM into an HTML page. Rendering at a server side: the server side fills data in a specific symbol in a specific region of the HTML before returning the HTML, and then gives the client side, and the client side is only responsible for analyzing the HTML.
According to the embodiment of the disclosure, the system architecture can be used for the situation of client-side rendering and can also be used for the situation of server-side rendering.
After the developer packs the project, the delivery system 103 is used to upload the corresponding project resource file to the CDN cloud server 104. At the same time, the publishing system 103 will asynchronously notify all node. After uploading the file to CDN cloud server 104, delivery system 103 also notifies shared storage server 105.
After receiving the notification, the shared storage server 105 immediately downloads the latest file to the shared storage server 105 on the CDN cloud server 104, so as to be used for node.
When the client rendering is executed, after a user opens a website through the client 101, the browser directly goes to the CDN cloud server 104 to download corresponding static resource files (javascript, css, pictures, etc.). After downloading the file, the browser can directly analyze the content of the file, render and display the content to the user.
When performing server rendering, a user opens a website through the client 101, and then a request of a browser is distributed to a certain node. The node. js service will first find out if there is a corresponding resource file locally, if not, it will go to the shared storage server 105 for downloading. Js server, if it has downloaded the static resource file from the shared storage server 105, it will directly parse the corresponding file content (javascript) and generate HTML content after calculation, return to the browser, and show to the user.
In the process of implementing the present disclosure, it is found that, in the prior art, after a request sent by a browser is received, the request is forwarded to a back-end server through Ngix forwarding, and a user requests to directly access a resource in the back-end server, and the service performance is poor because resource caching is not implemented.
To solve this problem, it can be implemented by a resource cache. For example, the following two schemes can be adopted:
the first scheme is as follows: static resources (javascript, css, html, pictures and the like) of a front-end project are stored by using a third-party CDN, and a CDN manufacturer is responsible for caching the static resource files, so that the advantages of regional networks of the CDN manufacturer (users in different regions open webpages, can use servers of the CDN manufacturer nearby, reduce network delay caused by long distance) can be utilized, and the downloading speed of the front-end resource is greatly improved. This resource caching scenario is mainly applied in the case of "client rendering" with front and back ends separated.
Fig. 2 is a schematic diagram schematically illustrating webpage rendering performed by a client in the related art. As shown in fig. 2, after the user opens the website, the browser may directly download static resource files (javascript, css, pictures, etc.) from the server of the CDN vendor.
After the static resources are downloaded, the client side can send asynchronous data requests to the front-end project server, and after the server responds, the returned data are filled into a website and displayed to a user.
The static resource caching capability of the process is mainly provided by a CDN manufacturer, and the front-end project server does not need to provide the caching capability.
Scheme II: and directly storing the front-end static resource file on the front-end server. In such a scenario, "server rendering" needs to be used in order to make up for the deficiency of "client rendering" in the first solution in the user experience, and to provide the capability of SEO for the search engine. When the front-end project is deployed, the static resource can be directly deployed to a server at the front end together with the project. When the server renders, node.js server (node.js: a server development technology based on JavaScript language) also needs to load a certain static resource file, and returns the result to the Web page after calculation. By adopting the scheme, static resource files (such as javascript) are needed in the node.js server, so that the efficiency is highest when the files are stored in the same server as the node.js, and the waiting time for downloading from other servers or the CDN can be saved.
Fig. 3 is a schematic diagram schematically illustrating webpage rendering performed by a server in the related art. As shown in fig. 3:
after a user opens a website through a browser, a client firstly requests corresponding files and data from a front-end project server. After receiving the data request, the server 1 searches for the static resource file locally for loading, calculates the data required by the user, and returns the data to the browser together with the static resource file. And after receiving the resource file and the data returned by the server 1, the browser directly renders the resource file and the data and displays the resource file and the data to the user.
When another user also initiates a request, the request is forwarded to the server 2, and the whole processing flow is consistent with the flow of performing data processing and forwarding by the server 1, which is not described herein again. When multiple servers coexist, the requests of different users are distributed to different servers, and each server must simultaneously contain the whole amount of static resource files.
In the course of implementing the present disclosure, it was found that there are some drawbacks in both of the above schemes:
in the first scheme, the CDN is used as a storage medium for static resources, which can only meet the requirement of a part of "client rendering" projects, and when all users open a website, static resources are not sent to a server of the front-end project, and are intercepted by a CDN manufacturer, and then resource files are directly returned to the browser of the user. However, in the case of "server rendering", this solution is completely unsatisfactory, and it is difficult to simultaneously compatible the client rendering and server rendering modes.
In the second scheme, although the problem of fast loading static resource files in the "server rendering" project is solved to a certain extent, when the capacity expansion of the data processing service cluster (node. js service cluster) server is realized, the same static files need to be stored in each server clone body, so that resource redundancy and low resource updating efficiency are caused.
Since the user scale is rapidly increasing every day in the modern internet, high concurrency and high availability also become hidden requirements of front-end projects. For example, in the running process, when the user access volume is increased suddenly (such as killing activity in seconds) on a certain day, the automatic capacity expansion of the front-end server can be realized by using the container technology. However, if the second scheme is adopted, and all static resource files of the project are stored on the front-end server, the same files need to be stored in the clone body of each container when the containers are automatically expanded. This solution has two problems: (1) redundancy of resources. If the user's request is never allocated to the container's clone server, then these resources are never used and are wasted disk space. (2) Resource updating is inefficient. If the static resources in the project change, all containers which have been cloned need to be updated, the more cloning objects, the more cumbersome the updating process, and the user can not see the latest contents in time when opening the website in the updating process.
In view of the above, the present disclosure provides a web page rendering method. To overcome the above technical problems.
Fig. 4 schematically shows a flow chart of a web page rendering method according to an embodiment of the present disclosure.
As shown in fig. 4, the method includes operations S401 to S405.
In operation S401, an access request for a target web page is received from a client.
In operation S402, in response to the access request, it is determined whether static resource data (javascript, css, picture, etc.) related to the target web page exists in the local cache of the data processing service cluster.
In operation S403, in a case that static resource data does not exist in the local cache, the static resource data is obtained from the shared storage server and cached to the local of the processing service cluster, where the static resource data is obtained from the cloud server by the shared storage server after being uploaded to the cloud server by the publishing system. The cloud server can adopt a CDN cloud server. Shared storage server refers to a parallel bank structure in which two or more machines share a main memory. Each machine may store information in or retrieve information from a main memory. Communication between machines is achieved by accessing shared memory.
According to embodiments of the present disclosure, the data processing service cluster, the publishing system, and the shared storage server may be disposed in the same internal network area.
In operation S404, dynamic resource data related to the target web page is acquired from the service server. The dynamic resource data is service data related to the requested service, and the service server is a server for acquiring and processing the service data according to the request of the client. And returning the service dynamic data through the service server, and displaying the service content to the user through the browser after the webpage rendering.
In operation S405, the static resource data and the dynamic resource data are processed and then returned to the client, so that the client performs a webpage rendering operation related to the target webpage according to the processed static resource data and dynamic resource data.
According to the embodiment of the disclosure, the method uses the data processing service cluster as an execution main body, and the data processing service cluster is mainly used for acquiring static resource data and dynamic resource data related to a user request, processing the static resource data and the dynamic resource data and returning the processed static resource data and the dynamic resource data to the client. The data processing service cluster may employ a node.
According to the embodiment of the disclosure, the data processing service cluster acquires static resource data related to the target webpage, and acquires the static resource data from the shared storage server under the condition that the static resource data does not exist in the local cache, but does not acquire the static resource data from the CDN cloud server, so that the data processing service cluster can be used for the condition of server-side rendering.
According to the embodiment of the disclosure, the static resource data is obtained by the shared storage server from the cloud server after being uploaded to the cloud server through the publishing system. When the publishing system 103 is used for system online, the developer publishes the resource data related to the user request through the publishing system. Therefore, the static resource data needs to be published online in advance through the publishing system.
FIG. 5 schematically shows a timing diagram for online publication of static resource data by a publication system, according to an embodiment of the disclosure.
As shown in fig. 5, the online publishing process is as follows:
1. after the developer packs the project, the delivery system 103 is used to upload the corresponding project resource file to the CDN cloud server 104.
2. Meanwhile, the publishing system will asynchronously notify all data processing servers (e.g. node. js servers) which the latest resource file list of the project has (i.e. notify that the static resource of the project changes, here, only the file name corresponding to the project of the node. js server is told, the node. js server will not download the corresponding entity file content at this time, and each server in the node. js service cluster only needs to know the change of the file).
3. After the file is uploaded to the CDN cloud server, the delivery system can also inform the shared storage server.
4. After receiving the notification, the shared storage service immediately downloads the latest file to the shared storage server on the CDN and caches the latest file for node.
When the project needs to be updated and released, the operation of 4 is repeated.
According to the embodiment of the disclosure, after the static resource data is published online by the method, the webpage rendering can be executed based on the method described in fig. 4.
After a user initiates an access request for a target webpage through a browser, the browser can perform data rendering and present webpage content to the user. The webpage rendering can be performed by adopting client rendering or server rendering.
According to the embodiment of the disclosure, the method of the embodiment of the disclosure is a case of performing server-side rendering (a node.js server acquires static resource data from a shared storage server, not from a CDN cloud server, because a CDN is an internet environment, compared with a shared storage server, there is a case of network delay, and the shared storage server and the node.js server belong to the same internal network area, and the file download speed is very fast, so that a case of server-side rendering can be satisfied).
According to the embodiment of the disclosure, the static resource data is firstly issued to the cloud server through the issuing system, and the client can directly download the static resource data from the cloud server to perform webpage rendering operation, so that the method can also be used for client rendering. When the client rendering is executed, after a user opens a website through the client, the browser directly goes to the CDN cloud server to download the corresponding static resource file, and then the browser can directly analyze the file content to render and display the file content to the user content.
According to the embodiment of the disclosure, the static resource data is the data obtained by the shared storage server from the cloud server after being uploaded to the cloud server through the publishing system, and can be compatible in a client rendering scene and a server rendering scene (when the client renders, data is downloaded from the cloud server, when the server renders, data is downloaded from the shared storage server, and the two modes are compatible) at the same time, and the performance of the static resource cache can be improved.
According to the embodiment of the disclosure, because the static resource data is acquired from the shared storage server in real time, the static resource data can be acquired from the shared storage server only when a request comes, backup in each processing server is not needed, capacity expansion of the server is not affected, and the capacity of the static resource cache can be exerted to the maximum extent while the capacity expansion of the front-end service quantity is rapidly realized by using a container on the premise of realizing separation of dynamic and static. When the static resource of the front-end project changes, the cache of all container clone servers can be quickly updated, so that the user can immediately access the latest website content, and the user can access the website content without being aware of the website content.
According to the embodiment of the disclosure, the resource caching can be realized in both the shared storage server and the data processing service cluster by acquiring the static resource data from the shared storage server and caching the static resource data to the local of the processing service cluster.
The method provided by the embodiment of the disclosure can meet the requirement of rapidly loading the static resource of a service-side rendering type project, can also meet the requirement of rapidly expanding the server resource by using a container technology, and can update all front-end servers in time to update the cache files when the static resource of the project changes frequently, so that the cache performance of the static resource is improved, and the user experience is also improved.
According to an embodiment of the present disclosure, wherein: the shared storage server and the data processing service cluster are arranged in the same internal network area.
Further, according to embodiments of the present disclosure, the data processing service cluster, the publishing system, and the shared storage server may be disposed in the same internal network area.
According to the embodiment of the disclosure, since resource caching can be realized in both the shared storage server and the data processing service cluster, by arranging the shared storage server and the data processing service cluster in the same internal network area, both the two caching services are in the same network environment with the service itself, and the problem of network downloading delay does not exist basically, so that the purpose of fastest downloading and use can be achieved.
According to an embodiment of the present disclosure, further comprising:
and under the condition that the static resource data exist in the local cache, acquiring the static resource data from the local cache.
According to the embodiment of the disclosure, under the condition that the static resource data does not exist in the local cache, the static resource data is acquired from the shared storage server, that is, when the request of the user is forwarded to the data processing service cluster, the data processing server downloads the file to the shared storage and caches the file to the local, and when the user requests again, the data processing server directly takes the corresponding resource file from the local cache, so that the corresponding speed can be accelerated, and the user experience is improved.
According to the embodiment of the disclosure, in a scenario of performing server rendering, processing static resource data and dynamic resource data and returning the processed static resource data and dynamic resource data to a client, so that the client performs a webpage rendering operation related to a target webpage according to the processed static resource data and dynamic resource data includes:
analyzing the static resource data;
merging the dynamic resource data and the analyzed resource data to generate an HTML file related to the target webpage;
and returning the HTML file to the client so that the client analyzes the HTML file to execute the webpage rendering operation. Before the server side returns the HTML, data is filled in the specific symbol of the HTML specific area, and then the data is given to the client side, and the client side only needs to analyze the HTML.
According to the embodiment of the disclosure, in a scene of executing client rendering, after static resource data are uploaded to a cloud server through a publishing system, the client acquires the static resource data from the cloud server, and the client acquires dynamic resource data related to a target webpage from a business server; and executing, by the client, a web page rendering operation associated with the target web page according to the static resource data and the dynamic resource data. Namely, the front end and the back end interact through an appointed API, the back end provides data, and the front end inserts an HTML page to perform rendering according to a data generation DOM.
According to the basic disclosed embodiment, based on that the above-mentioned web page rendering method can be compatible in the "client rendering" and "server rendering" scenarios at the same time, fig. 6 schematically shows a schematic diagram of performing the web page rendering method by using the client and the server according to the embodiment of the present disclosure.
As shown in fig. 6, when performing server rendering, after a user opens a website through a client, a request of a browser is distributed to a certain node. The node. js service will find out whether there is a corresponding resource file locally at first, if not, it will download on the shared storage server. If the node.js server downloads the static resource file from the shared storage server, the node.js server directly analyzes the corresponding file content (javascript), acquires the dynamic resource data related to the target webpage from the service server, processes the static resource data and the dynamic resource data, calculates the static resource data and generates HTML content, returns the HTML content to the browser and displays the HTML content to the user.
As shown in fig. 6, when performing client rendering, after a user opens a website through a client, a browser directly goes to a CDN cloud server to download corresponding static resource files (javascript, css, pictures, etc.). After downloading the file, the browser can directly analyze the content of the file, render and display the content to the user.
Fig. 7 schematically shows a block diagram of a web page rendering apparatus 700 according to an embodiment of the present disclosure. The web page rendering apparatus 700 may be used to implement the method shown with reference to fig. 4.
As shown in fig. 7, the apparatus includes a receiving module 710, a determining module 720, a first obtaining module 730, a second obtaining module 740, and a processing module 750.
The receiving module 710 is configured to receive an access request for a target webpage from a client;
a determining module 720, configured to determine, in response to the access request, whether static resource data related to the target web page exists in a local cache of the data processing service cluster;
the first obtaining module 730 is configured to, in a case that static resource data does not exist in the local cache, obtain the static resource data from the shared storage server and cache the static resource data to the local of the processing service cluster, where the static resource data is obtained by the shared storage server from the cloud server after being uploaded to the cloud server by the publishing system;
a second obtaining module 740, configured to obtain dynamic resource data related to the target web page from the service server;
and the processing module 750 is configured to process the static resource data and the dynamic resource data and return the processed static resource data and dynamic resource data to the client, so that the client performs a webpage rendering operation related to the target webpage according to the processed static resource data and dynamic resource data.
According to an embodiment of the present disclosure, wherein: the shared storage server and the data processing service cluster are arranged in the same internal network area.
According to an embodiment of the present disclosure, the first obtaining module 730 is further configured to: and under the condition that the static resource data exist in the local cache, acquiring the static resource data from the local cache.
According to an embodiment of the present disclosure, the processing module 750 includes a parsing unit, a merging unit, and a transmission unit.
The analysis unit is used for analyzing the static resource data; the merging unit is used for merging the dynamic resource data and the analyzed resource data to generate an HTML file related to the target webpage; and the transmission unit is used for returning the HTML file to the client so that the client can analyze the HTML file to execute webpage rendering operation.
According to an embodiment of the present disclosure, further comprising: and the third acquisition module is used for acquiring the static resource data from the cloud server by the client after the static resource data are uploaded to the cloud server through the release system.
According to the embodiment of the disclosure, the system further comprises a fourth obtaining module and a rendering module.
The fourth acquisition module is used for acquiring dynamic resource data related to the target webpage from the business server by the client; and the rendering module is used for executing webpage rendering operation related to the target webpage by the client according to the static resource data and the dynamic resource data.
According to the embodiment of the disclosure, the static resource data is the data obtained by the shared storage server from the cloud server after being uploaded to the cloud server through the publishing system, and can be compatible in a client rendering scene and a server rendering scene (when the client renders, data is downloaded from the cloud server, when the server renders, data is downloaded from the shared storage server, and the two modes are compatible) at the same time, and the performance of the static resource cache can be improved.
According to the embodiment of the disclosure, the receiving module 710 receives the user request, and the judging module 720 and the first obtaining module 730 are used, so that the user request can be obtained from the shared storage server only when the request comes, backup in each processing server is not needed, capacity expansion of the server is not affected, and on the premise of realizing dynamic and static separation, the capacity of the static resource cache can be exerted to the maximum extent while the capacity of the front-end service quantity is rapidly expanded by using a container. When the static resource of the front-end project changes, the cache of all container clone servers can be quickly updated, so that the user can immediately access the latest website content, and the user can access the website content without being aware of the website content.
According to the embodiment of the present disclosure, the first obtaining module 730 obtains the static resource data from the shared storage server and caches the static resource data to the local of the processing service cluster, and resource caching can be implemented in both the shared storage server and the data processing service cluster.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any plurality of the receiving module 710, the determining module 720, the first obtaining module 730, the second obtaining module 740, and the processing module 750 may be combined into one module/unit/sub-unit to be implemented, or any one of the modules/units/sub-units may be split into a plurality of modules/units/sub-units. Alternatively, at least part of the functionality of one or more of these modules/units/sub-units may be combined with at least part of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to an embodiment of the present disclosure, at least one of the receiving module 710, the determining module 720, the first obtaining module 730, the second obtaining module 740, and the processing module 750 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware, and firmware, or implemented by a suitable combination of any of them. Alternatively, at least one of the receiving module 710, the determining module 720, the first obtaining module 730, the second obtaining module 740, and the processing module 750 may be at least partially implemented as a computer program module, which when executed, may perform a corresponding function.
Fig. 8 schematically shows a block diagram of an electronic device for implementing a web page rendering method according to an embodiment of the present disclosure.
The electronic device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 8, an electronic device 800 according to an embodiment of the present disclosure includes a processor 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. The processor 801 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 801 may also include onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flows according to embodiments of the present disclosure.
In the RAM 803, various programs and data necessary for the operation of the electronic apparatus 800 are stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. The processor 801 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 802 and/or RAM 803. Note that the programs may also be stored in one or more memories other than the ROM 802 and RAM 803. The processor 801 may also perform various operations of method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 800 may also include input/output (I/O) interface 805, input/output (I/O) interface 805 also connected to bus 804, according to an embodiment of the present disclosure. Electronic device 800 may also include one or more of the following components connected to I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program, when executed by the processor 801, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 802 and/or RAM 803 described above and/or one or more memories other than the ROM 802 and RAM 803.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method provided by the embodiments of the present disclosure, when the computer program product is run on an electronic device, the program code being configured to cause the electronic device to implement the method of rendering a web page provided by the embodiments of the present disclosure.
The computer program, when executed by the processor 801, performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted in the form of a signal on a network medium, distributed, downloaded and installed via communication section 809, and/or installed from removable media 811. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (9)

1. A method of web page rendering, comprising:
receiving an access request aiming at a target webpage from a client;
responding to the access request, and judging whether static resource data related to the target webpage exists in a local cache of a data processing service cluster;
under the condition that the static resource data do not exist in the local cache, obtaining the static resource data from a shared storage server, and caching the static resource data to the local of the processing service cluster, wherein the static resource data are obtained by the shared storage server from a cloud server after being uploaded to the cloud server through a publishing system;
acquiring dynamic resource data related to the target webpage from a business server;
and processing the static resource data and the dynamic resource data and returning the processed static resource data and the dynamic resource data to the client so that the client can execute webpage rendering operation related to the target webpage according to the processed static resource data and the processed dynamic resource data.
2. The method of claim 1, wherein:
the shared storage server and the data processing service cluster are arranged in the same internal network area.
3. The method of claim 1, further comprising:
and under the condition that the static resource data exist in the local cache, acquiring the static resource data from the local cache.
4. The method of claim 1, wherein processing the static resource data and the dynamic resource data and returning the processed static resource data and the dynamic resource data to the client so that the client performs a webpage rendering operation related to the target webpage according to the processed static resource data and the processed dynamic resource data comprises:
analyzing the static resource data;
merging the dynamic resource data and the analyzed resource data to generate an HTML file related to the target webpage;
and returning the HTML file to the client so that the client can analyze the HTML file to execute the webpage rendering operation.
5. The method of claim 1, further comprising:
and after the static resource data are uploaded to the cloud server through the issuing system, the client acquires the static resource data from the cloud server.
6. The method of claim 5, further comprising:
acquiring the dynamic resource data related to the target webpage from the business server by the client;
and executing webpage rendering operation related to the target webpage by the client according to the static resource data and the dynamic resource data.
7. A web page rendering apparatus comprising:
the receiving module is used for receiving an access request aiming at a target webpage from a client;
the judging module is used for responding to the access request and judging whether static resource data related to the target webpage exists in a local cache of the data processing service cluster;
a first obtaining module, configured to, when the static resource data does not exist in the local cache, obtain the static resource data from a shared storage server and cache the static resource data to the local of the processing service cluster, where the static resource data is obtained by the shared storage server from a cloud server after being uploaded to the cloud server by a distribution system;
the second acquisition module is used for acquiring dynamic resource data related to the target webpage from a business server;
and the processing module is used for processing the static resource data and the dynamic resource data and returning the processed static resource data and the processed dynamic resource data to the client so that the client can execute webpage rendering operation related to the target webpage according to the processed static resource data and the processed dynamic resource data.
8. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-6.
9. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 6.
CN202110786937.6A 2021-07-12 2021-07-12 Webpage rendering method and device, electronic equipment and computer-readable storage medium Active CN113468456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110786937.6A CN113468456B (en) 2021-07-12 2021-07-12 Webpage rendering method and device, electronic equipment and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110786937.6A CN113468456B (en) 2021-07-12 2021-07-12 Webpage rendering method and device, electronic equipment and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN113468456A CN113468456A (en) 2021-10-01
CN113468456B true CN113468456B (en) 2022-04-22

Family

ID=77879889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110786937.6A Active CN113468456B (en) 2021-07-12 2021-07-12 Webpage rendering method and device, electronic equipment and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN113468456B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205416B (en) * 2021-10-27 2024-03-12 北京旷视科技有限公司 Resource caching method, device, electronic equipment and computer readable medium
CN114500484A (en) * 2021-12-24 2022-05-13 中国电信股份有限公司 Page rendering method and device, electronic equipment and readable medium
CN114416113B (en) * 2021-12-30 2023-05-12 中国电信股份有限公司 Data release system, method and device based on containerization
CN114627599A (en) * 2022-03-10 2022-06-14 阿里巴巴(中国)有限公司 Method for realizing business processing of POS terminal, POS terminal and server
CN114972594B (en) * 2022-04-25 2023-08-29 北京百度网讯科技有限公司 Data processing method, device, equipment and medium for meta universe
CN115604345B (en) * 2022-09-29 2023-08-18 北京亚控科技发展有限公司 Development method of application program and computer readable storage medium
CN115509546A (en) * 2022-09-30 2022-12-23 再惠(上海)网络科技有限公司 Front-end deployment method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104587A (en) * 2018-10-26 2020-05-05 北京金山云网络技术有限公司 Webpage display method and device and server
CN111708594A (en) * 2020-06-09 2020-09-25 北京达佳互联信息技术有限公司 Page rendering method and device, electronic equipment and storage medium
CN111859224A (en) * 2020-07-31 2020-10-30 平安健康保险股份有限公司 Server rendering method and device based on node server and computer equipment
CN111970359A (en) * 2020-08-14 2020-11-20 工银科技有限公司 Front-end non-service architecture system based on node

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8627204B2 (en) * 2011-10-18 2014-01-07 Microsoft Corporation Custom optimization of web pages
US20130187933A1 (en) * 2012-01-23 2013-07-25 Google Inc. Rendering content on computing systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104587A (en) * 2018-10-26 2020-05-05 北京金山云网络技术有限公司 Webpage display method and device and server
CN111708594A (en) * 2020-06-09 2020-09-25 北京达佳互联信息技术有限公司 Page rendering method and device, electronic equipment and storage medium
CN111859224A (en) * 2020-07-31 2020-10-30 平安健康保险股份有限公司 Server rendering method and device based on node server and computer equipment
CN111970359A (en) * 2020-08-14 2020-11-20 工银科技有限公司 Front-end non-service architecture system based on node

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Web前端网页渲染优化研究;肖建芳;《现代计算机》;20200715;全文 *
基于组件化与服务端渲染的动态内容管理系统;侯俐;《电脑知识与技术》;20200331;第16卷(第9期);全文 *

Also Published As

Publication number Publication date
CN113468456A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN113468456B (en) Webpage rendering method and device, electronic equipment and computer-readable storage medium
US9703761B2 (en) Delayed code parsing for reduced startup latency
US20150088975A1 (en) Systems and methods for handling a cookie from a server by an intermediary between the server and a client
US20120324043A1 (en) Access to network content
US9769285B2 (en) Access to network content
WO2018054170A1 (en) Browser resources pre-pulling method, terminal and storage medium
CN110888696A (en) Page display method and system, computer system and computer readable medium
CN109992406B (en) Picture request method, picture request response method and client
CN110990736A (en) Page loading method and device, terminal equipment and storage medium
US20200320154A1 (en) A webpage loading method, webpage loading system and server
CN111367596A (en) Method and device for realizing service data processing and client
CN111225010A (en) Data processing method, data processing system and device
US8949405B2 (en) Content server latency determination
CN106354792B (en) Webpage display method and device
CN113094612A (en) Method and device for loading webpage at client, electronic equipment and medium
US9253279B2 (en) Preemptive caching of data
US11438403B2 (en) Page presentation method and system, computer system, and computer readable medium
CN111783005A (en) Method, apparatus and system for displaying web page, computer system and medium
CN113032702A (en) Page loading method and device
US9854053B1 (en) Providing faster data access using multiple caching servers
CN113536168B (en) Component processing method and device
CN111753226A (en) Page loading method and device
US10990750B2 (en) Dynamically bundling web page resources
US11288336B2 (en) Systems and methods for providing content items in situations involving suboptimal network conditions
CN112565472B (en) Static resource processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant