Patent Document ID: 8375296
Application ID: 12827538

Base Claim:
1. A method comprising: parsing a web page, wherein the web page contains at least one reference to a style sheet, wherein the style sheet includes style rules to be applied to a web page during parsing; for each referenced style sheet: parsing the referenced style sheet into a ruleset, wherein the parsing includes extracting rules and expanding them from their specification format so that they are ready to be applied to the web page; determining if the referenced style sheet is contained in the first local cache; and determining if the ruleset corresponding to the referenced style sheet is contained in a first local cache, only if the referenced style sheet is contained in the first local cache; if the ruleset corresponding to the style sheet is contained in the first local cache, retrieving the ruleset corresponding to the style sheet from the first local cache; if the referenced style sheet is not contained in the first local cache, parsing the referenced style sheet to derive a ruleset; and applying the ruleset(s) to the web page to derive a layout for displaying the web page.

---

Claim 2:
2. The method of claim 1 , further comprising storing the ruleset in the first local cache only if the parsed ruleset is larger than a predetermined threshold.