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.
Abstract:
Processing a message includes receiving at a message processing system the message that is distributed by a message distributor, the message having a message type, based at least in part on the message type, locating among a plurality of subscriber groups a subscriber group that subscribes to the message type, each of the plurality of subscriber groups having a unique identifier and comprising one or more message subscriber nodes, at least some of the one or more message subscriber nodes in each of the plurality of subscriber groups being connected to the message processing system, and transmitting the message to a message subscriber node that belongs to the subscriber group that is located.
Abstract:
Processing a message includes receiving at a message processing system the message that is distributed by a message distributor, the message having a message type, based at least in part on the message type, locating among a plurality of subscriber groups a subscriber group that subscribes to the message type, each of the plurality of subscriber groups having a unique identifier and comprising one or more message subscriber nodes, at least some of the one or more message subscriber nodes in each of the plurality of subscriber groups being connected to the message processing system, and transmitting the message to a message subscriber node that belongs to the subscriber group that is located.
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.