A method of processing nested fragment caching of a web page, the method comprising: setting nesting information of nested fragments of a web page in advance of receiving a request for the web page, wherein the nested fragments of the web page include at least two levels of fragments such that a first level fragment includes a second level fragment and wherein the nesting information includes information about whether a particular fragment includes other fragments, the nesting information being different from HTML codes that correspond to respective contents of individual fragments; in response to receiving the request for the web page, obtaining first-level fragment information of the web page; successively performing a fragment analysis process for first-level fragments based on the first-level fragment information, wherein the fragment analysis process includes: rendering the first-level fragments based on predetermined nesting information of the first-level fragments, the rendering comprising successively obtaining the nesting information of the first-level fragments based on fragment names and fragment parameters of the first-level fragments, and further obtaining respective HTML codes corresponding to contents of the first-level fragments based on the nesting information of the first-level fragments; and determining whether a first-level fragment includes a second-level fragment based on the nesting information of the first-level fragments, and if affirmative, recursively rendering the second-level fragment; and combining results of the fragment analysis process to generate the contents of the first-level fragments of the web page by including content of at least the second-level fragment. setting nesting information of nested fragments of a web page in advance of receiving a request for the web page, wherein the nested fragments of the web page include at least two levels of fragments such that a first level fragment includes a second level fragment and wherein the nesting information includes information about whether a particular fragment includes other fragments, the nesting information being different from HTML codes that correspond to respective contents of individual fragments; in response to receiving the request for the web page, obtaining first-level fragment information of the web page; successively performing a fragment analysis process for first-level fragments based on the first-level fragment information, wherein the fragment analysis process includes: rendering the first-level fragments based on predetermined nesting information of the first-level fragments, the rendering comprising successively obtaining the nesting information of the first-level fragments based on fragment names and fragment parameters of the first-level fragments, and further obtaining respective HTML codes corresponding to contents of the first-level fragments based on the nesting information of the first-level fragments; and determining whether a first-level fragment includes a second-level fragment based on the nesting information of the first-level fragments, and if affirmative, recursively rendering the second-level fragment; and rendering the first-level fragments based on predetermined nesting information of the first-level fragments, the rendering comprising successively obtaining the nesting information of the first-level fragments based on fragment names and fragment parameters of the first-level fragments, and further obtaining respective HTML codes corresponding to contents of the first-level fragments based on the nesting information of the first-level fragments; and determining whether a first-level fragment includes a second-level fragment based on the nesting information of the first-level fragments, and if affirmative, recursively rendering the second-level fragment; and combining results of the fragment analysis process to generate the contents of the first-level fragments of the web page by including content of at least the second-level fragment.