发明名称 Smart hierarchical cache using HTML5 storage APIs
摘要 A method of caching resources corresponding to a webpage on a client is disclosed. A hierarchy of a plurality of storage mechanisms available on the client is determined based at least in part on performance of the plurality of storage mechanisms. The hierarchy comprises a plurality of levels to which each storage mechanism may be assigned. A request to cache a first resource corresponding to a webpage is received. One of the plurality of storage mechanisms for caching the first resource is selected based at least in part on the hierarchy. The first resource is stored in the selected storage mechanism of the hierarchy.
申请公布号 US9531829(B1) 申请公布日期 2016.12.27
申请号 US201314091794 申请日期 2013.11.27
申请人 Instart Logic, Inc. 发明人 Anand Ashok;Reshadi Mohammad H.;Kolam Hariharan;Du Bowei;Akella Aditya
分类号 G06F17/30;H04L29/08 主分类号 G06F17/30
代理机构 Van Pelt, Yi & James LLP 代理人 Van Pelt, Yi & James LLP
主权项 1. A method of caching resources corresponding to a webpage on a client, comprising: determining by a processor a hierarchy of a plurality of storage mechanisms available on the client based at least in part on performance of the plurality of storage mechanisms, the hierarchy comprising a plurality of levels to which each storage mechanism may be assigned; receiving a request to cache a first resource corresponding to a webpage; selecting one of the plurality of storage mechanisms for caching the first resource based at least in part on the hierarchy; storing the first resource in the selected storage mechanism of the hierarchy; receiving a request to retrieve a second resource; and retrieving the second resource from the hierarchy of the plurality of storage mechanisms, wherein retrieving the second resource comprises searching for the second resource by iteratively walking through at least some of the plurality of levels of the hierarchy, wherein in the event that the second resource is not found by iteratively walking through at least some of the plurality of levels of the hierarchy, the second resource is retrieved from the browser cache, and the second resource retrieved from the browser cache is stored in the hierarchy of the plurality of storage mechanisms.
地址 Palo Alto CA US
您可能感兴趣的专利