Patent attributes
A method, system, and medium are provided for managing cache allocation between a primary storage and a secondary storage. The system includes a device with a primary storage, secondary storage, and cache manager. The method includes downloading a web resource, storing the web resource in the primary storage, determining the amount of time required to download the web resource, and determining the amount of time required to retrieve the web resource from the secondary storage. If the amount of time required to retrieve the web resource from the secondary storage is less than the amount of time required to download the web resource, the method stores the web resource in the secondary storage. Additionally, web resources may be moved from the secondary storage to the primary storage based on their likelihood of being utilized.