Patent ID: 8880991
Filing Date: 2014-11-04
Classification: G06F

Abstract:
1. A method for processing webpages, the method comprising: requesting, from a communication device, webpages from remote servers; receiving the webpages at the communication device; caching resources of the webpages in a network cache of the communication device so the resources do not have to be retrieved from the remote servers a next time the webpages are requested, the resources including scripting-language code; rendering the webpages on the communication device; determining at least one of the webpages is a higher-priority webpage that is more likely than others of the webpages to be requested again; retrieving, when the communication device is idle, a selected portion of the scripting language code from the network cache, wherein the selected portion of the scripting language code is utilized by the higher-priority webpage; compiling the selected portion of the scripting-language code to generate higher-priority compiled code objects; storing the higher-priority compiled code objects on the communication device; distinguishing the higher-priority compiled code objects from other compiled code objects that are stored on the communication device to delay the higher-priority compiled code objects from being removed from the communication device; removing the other compiled code objects from the communication device while retaining the higher-priority compiled code objects on the communication device; and executing the higher-priority compiled code objects when the higher-priority webpage is requested by the user.