Patent ID: 8739024

Claim:
A method for processing a World Wide Web (WWW) page, the method comprises: determining at least one website to be optimized; generating a corresponding page template for each of WWW pages with different types in each website, and storing the corresponding page template; constantly grabbing WWW pages from each website, matching each grabbed WWW page with a page template corresponding to the grabbed WWW page, filtering redundant Hyper Text Mark-up Language (HTML) data from the WWW page according to a matching result, and storing the filtered WWW page without the redundant HTML data; after receiving a request, sent by a terminal, for accessing a WWW page, determining whether there is a stored filtered WWW page without the redundant HTML data corresponding to the WWW page requested by the terminal; and when there is a stored filtered WWW page without the redundant HTML data corresponding to the WWW page requested by the terminal, returning the filtered WWW page without the redundant HTML data to the terminal; wherein generating a corresponding page template for each of WWW pages with different types in each website, and storing the corresponding page template comprises performing the following operations for each respective website X; obtaining a WWW page from each of the various types of WWW pages in the website X according to a received instruction of a background administrator; respectively analyzing each obtained WWW page to construct a Document Object Model (DOM) tree; deleting each DOM node unnecessary to be reserved from each DOM tree according to a received instruction of a background administrator; respectively transforming each DOM tree in which each DOM node unnecessary to be reserved is deleted into a WWW page; and storing the WWW page as a page template.