主权项 |
1. A computer-implemented method for responding to a page request, comprising:
receiving a request for a webpage originating at a client; evaluating at least one edge side rule in connection with the request, wherein the at least one edge side rule is encoded into a webpage served by a content delivery network (CDN); and responsive to the evaluation of the at least one edge side rule, determining if the response should be directly served by any of: an origin server, an edge cache of the CDN, and an acceleration device, wherein the response served by the acceleration device includes returning an edge side landing (ESL) page response tailored for the received request, the ESL page response including a script causing the client to evaluate suitability of the response and, responsive to the response not being suitable, to issue a redirect request for a suitable page, wherein the request is directly served by the origin server when a predefined string included in the request indicates that the client browser does not support edge caching. |