Patent ID: 8832275

Claim:
A computer-implemented method for managing webpages for display on an offline browser, comprising: identifying least recently used webpages from a plurality of webpages stored in a disk storage of a client device that is associated with the offline browser, wherein the plurality of webpages includes a plurality of resources and wherein identifying the least recently used webpages further comprises: determining a size of each webpage, wherein the size of each webpage is a sum of sizes of resources that are included in each webpage; determining an access history threshold of the offline browser, wherein the access history threshold is a sequential access of a number of webpages; determining an access history of each webpage based on the access history threshold; generating an access score for each webpage, wherein the access score is a function of the determined access history of each webpage; generating an expected access score for each webpage, wherein the expected access score is a function of the access score of each webpage; and determining a webpage removal threshold based on the expected access score of each webpage and the size of each webpage; and removing the least recently used webpages from the disk storage to maximize the display of remaining webpages on the offline browser, wherein the remaining webpages share a subset of resources that are included in the least recently used webpages, and wherein the removing further comprises: identifying a resource count of the resource included in the least recently used webpages; decrementing the resource count of a resource; and removing the resource when the resource count is below the webpage removal threshold.