Internet-based proxy service for responding to server offline errors
First Claim
1. A method in a proxy server for responding to server offline errors, comprising:
- receiving, from a client device, a request to perform an action on an identified resource hosted at an origin server for a domain;
transmitting the request to the origin server; and
responsive to determining that the origin server is offline, performing the following;
determining that the requested resource is available in cache,retrieving the requested resource from the cache,responsive to determining that the requested resource is an HTML page, rewriting the HTML page to indicate to a user that views the HTML page that it is a cached copy of the HTML page,transmitting an offline browsing cookie to the client device for the domain such that when a subsequent request is received from the client device for a resource of the domain that includes the offline browsing cookie, a cached version of the requested resource will be served instead of querying the origin server, andtransmitting the rewritten requested resource to the client device.
1 Assignment
0 Petitions
Accused Products
Abstract
A proxy server receives from a client device a request for a network resource that is hosted at an origin server for a domain. The request is received at the proxy server as a result of a DNS request for the domain resolving to the proxy server. The origin server is one of multiple origin servers that belong to different domains that resolve to the proxy server and are owned by different entities. The proxy server transmits the request to the origin server. Responsive to determining that the origin server is offline, the proxy server determines whether the requested resource is available in cache. If it is in cache, the proxy server retrieves the requested resource from the cache and transmits the requested resource to the client device.
189 Citations
21 Claims
-
1. A method in a proxy server for responding to server offline errors, comprising:
-
receiving, from a client device, a request to perform an action on an identified resource hosted at an origin server for a domain; transmitting the request to the origin server; and responsive to determining that the origin server is offline, performing the following; determining that the requested resource is available in cache, retrieving the requested resource from the cache, responsive to determining that the requested resource is an HTML page, rewriting the HTML page to indicate to a user that views the HTML page that it is a cached copy of the HTML page, transmitting an offline browsing cookie to the client device for the domain such that when a subsequent request is received from the client device for a resource of the domain that includes the offline browsing cookie, a cached version of the requested resource will be served instead of querying the origin server, and transmitting the rewritten requested resource to the client device. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A proxy server to respond to server offline errors, comprising:
-
A non-transitory machine-readable storage medium to store instructions; a processor coupled with the non-transitory machine-readable storage medium to process the stored instructions to; receive, from a client device, a request to perform an action on an identified resource hosted at an origin server for a domain; transmit the request to the origin server; determine whether the origin server is offline; and responsive to a determination that the origin server is offline, perform the following; determine that the requested resource is available in cache, retrieve the requested resource from the cache, responsive to a determination that the requested resource is an HTML page, rewrite the HTML page to indicate to a user that views the HTML page that it is a cached copy of the HTML page, transmit an offline browsing cookie to the client device for the domain such that when a subsequent request is received from the client device for a resource of the domain that includes the offline browsing cookie, a cached version of the requested resource will be served instead of querying the origin server, and transmit the rewritten requested resource to the client device. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory machine-readable storage medium that provides instructions that, when executed by a processor of a proxy server, cause said processor to perform operations comprising:
-
receiving, from a client device, a request to perform an action on an identified resource hosted at an origin server for a domain; transmitting the request to the origin server; and responsive to determining that the origin server is offline, performing the following; determining that the requested resource is available in cache, retrieving the requested resource from the cache, responsive to determining that the requested resource is an HTML page, rewriting the HTML page to indicate to a user that views the HTML page that it is a cached copy of the HTML page, transmitting an offline browsing cookie to the client device for the domain such that when a subsequent request is received from the client device for a resource of the domain that includes the offline browsing cookie, a cached version of the requested resource will be served instead of querying the origin server, and transmitting the rewritten requested resource to the client device. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification