发明名称 |
Selective requesting of cached resources |
摘要 |
Methods, systems, and apparatus for selectively requesting cached versions of resources. In one aspect, a method includes transmitting, by a user device, a resource request for a resource hosted by a first server; determining whether the first server provided response data; in response to determining that the first server provided response data: determining whether a cache request condition has occurred; in response to determining that a cache request condition has occurred: transmitting a request for a cached version of the resource to a cache server; and receiving cache data that causes the user device to display the cached version of the resource; and in response to determining that the first server did not provide response data: transmitting a request for a cached version of the resource to the cache server; and receiving cache data that causes the user device to display the cached version of the resource. |
申请公布号 |
US8880635(B1) |
申请公布日期 |
2014.11.04 |
申请号 |
US201213563608 |
申请日期 |
2012.07.31 |
申请人 |
Google Inc. |
发明人 |
Singh Anantica Jija Hari;Mahkovec Ziga;Vishnuvajhala Sashanka;Hansson Othar |
分类号 |
G06F15/16 |
主分类号 |
G06F15/16 |
代理机构 |
Fish & Richardson P.C. |
代理人 |
Fish & Richardson P.C. |
主权项 |
1. A method performed by data processing apparatus, the method comprising:
transmitting, by a user device, a resource request for a resource hosted by a first server at a first domain; determining, by the user device, whether the first server at the first domain provided response data in response to the resource request; in response to determining that the first server provided response data:
determining, based on the response data, whether a cache request condition has occurred;in response to determining that a cache request condition has occurred:
transmitting, by the user device, a request for a cached version of the resource to a cache server at a second domain that is different from the first domain and different from the user device, wherein the cached version of the resource comprises a copy of the resource captured at an earlier point in time from the first domain; andreceiving cache data that causes the user device to display the cached version of the resource and a cache indicator that includes a message specifying that the resource is currently unavailable at the first domain; and in response to determining that the first server did not provide response data:
transmitting, by the user device, a request for a cached version of the resource to the cache server at the second domain, wherein the cached version of the resource comprises a copy of the resource captured at an earlier point in time; andreceiving cache data that causes the user device to display the cached version of the resource and a cache indicator that includes a message specifying that the resource is currently unavailable at the first domain. |
地址 |
Mountain View CA US |