# US 2022/0294866 A1 · Split testing with custom cache keys for content delivery networks

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0294866 A1
- Document ID: US20220294866A1
- Status: Published application
- Kind: A1
- Application number: 17/693,307
- Filed: 2022-03-11
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: Limelight Networks, Inc.
- Applicants: Limelight Networks, Inc.
- Inventors: Mark Brocato; Ivan Erceg; Ishan Anand
- Web page: https://patentgrep.com/patent/US20220294866A1

## CPC

- G06F 16/9574: {of access to content, e.g. by caching}
- H04L 67/75: Indicating network or usage conditions on the user display
- G06F 16/955: using information identifiers, e.g. uniform resource locators [URL]
- H04L 41/0894: Policy-based network configuration management
- H04L 41/22: comprising specially adapted graphical user interfaces [GUI]
- H04L 43/028: by filtering
- H04L 45/30: Routing of multiclass traffic
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- H04L 67/5682: Policies or rules for updating, deleting or replacing the stored data
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Disclosed are systems and methods for enabling an application developer to define CDN behavior (e.g., caching rules) alongside an application program code and embedded in the same source code. The systems and methods can be used to define CDN or edge caching behavior using custom cache keys that go beyond simply using a URL. The custom cache keys and source code CDN behavior definitions can be used to enable a graphical user interface to specify traffic rules in a codeless interface. The described embodiments can be used for defining general traffic routing, to test different versions of the application or to otherwise present different versions of the application to end users, while preserving cache keys and caching behavior at the edge and throughout the application distribution layers.

## Claims

### Claim 1

A method for directing traffic of a web application, in an edge computing network to one or more variants of the web application at the edge, the method comprising:
receiving first and second source codes of the web application, wherein each source code, when deployed on an application execution layer of the web application, implements a variant of the web application;
receiving, in the first and second source codes, first and second routing rules and cache policies of the web application, respectively, wherein each routing rule set and cache policy corresponds to the variant of the web application defined by the source code;
generating first and second edge logic codes deployable to an edge layer, wherein the edge layer executes, at least in part, the edge first and second logic codes, the routing rules and cache policies of the first and second source codes at the edge layer, wherein the edge layer executes a master edge logic;
receiving one or more selected criteria for directing traffic to the web application;
receiving a selected amount of traffic corresponding to the received criteria;
converting the selected criteria and the selected amount of traffic into a plurality of routing instructions executable by the edge layer, wherein the routing instructions comprise traffic splitting instructions based on the selected criteria and amount of traffic, wherein the traffic splitting instructions preserve the caching behavior at the edge layer;
modifying the master edge logic to include and implement the routing instructions from the selected criteria and the selected amount of traffic, while preserving the cache policies and the routing rules of the first and second edge logic codes, based at least in part on, the routing instructions generated from the selected criteria and the selected amount of traffic;
deploying the first and second source codes to the application execution layer;
deploying the master edge logic to the edge layer, wherein the master edge logic comprises the first and the second edge logic codes and implements the routing instructions,
wherein the master edge logic configures the edge layer to use the routing rules and cache policies of the first edge logic code when handling traffic for the first source code in the application execution layer and the master edge logic code further configures the edge layer to use the routing rules and cache policies of the second edge logic code, when handling traffic for the second source code in the application execution layer;
receiving traffic for the web application at the edge layer; and
using the master edge logic, routing the traffic, at the edge layer to the first or second variant of the web application.

### Claim 2 (depends on 1)

The method of claim 1, wherein the one or more selected criteria and the selected amount of traffic are received via a graphical user interface.

### Claim 3 (depends on 1)

The method of claim 1, wherein the cache policies are generated based on a plurality of cache keys, wherein the cache keys are generated based on a URL and metadata of a request in the received traffic at the edge.

### Claim 4 (depends on 3)

The method of claim 3, wherein the metadata comprises one or more cookies received in the request.

### Claim 5 (depends on 3)

The method of claim 3, wherein the metadata comprises a part of or an entirety of one or more HTTP header values.

### Claim 6 (depends on 3)

The method of claim 3, further comprising:
receiving caching instructions in the first and/or second source codes, comprising filtering criteria;
generating cache keys based on the filtering criteria;
filtering the request based on the filtering criteria;
determining matching one or more matching cache keys to the filtered request.

### Claim 7 (depends on 6)

The method of claim 6, wherein filtering the request comprises filtering query parameters of a URL embedded in the request.

### Claim 8 (depends on 1)

The method of claim 1, wherein converting the selected criteria and the selected amount of traffic into a plurality of routing instructions, comprises extracting one or more routing files from the first and second source codes of the web application and wherein converting further comprises generating the routing instructions, based, at least in part, on the extracted routing files from the first and second source codes.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first and second edge logic codes configure one or more cache storages to be searchable by a plurality of cache keys.

### Claim 10 (depends on 1)

The method of claim 1, wherein the edge layer is configured to send a request to the application execution layer, wherein an identifier is embedded within the request wherein the identifier comprises an indication of an edge logic variant handling the request and wherein the identifier further indicates a corresponding application code variant in the application execution layer to serve a response to that request.

### Claim 11 (depends on 1)

The method of claim 1, wherein the first and the second edge logic codes and the corresponding first and second source codes are synced, such that changes in the source codes are automatically deployed to the corresponding application execution and edge layers.

### Claim 12

Non-transitory computer storage for directing traffic of a web application, in an edge computing network to one or more variants of the web application at the edge, the non-transitory computer storage storing executable program instructions that, when executed by one or more computing devices, configure the one or more computing devices to perform operations comprising:
receiving first and second source codes of the web application, wherein each source code, when deployed on an application execution layer of the web application, implements a variant of the web application;
receiving, in the first and second source codes, first and second routing rules and cache policies of the web application, respectively, wherein each routing rule set and cache policy corresponds to the variant of the web application defined by the source code;
generating first and second edge logic codes deployable to an edge layer, wherein the edge layer executes, at least in part, the edge first and second logic codes, the routing rules and cache policies of the first and second source codes at the edge layer, wherein the edge layer executes a master edge logic;
receiving one or more selected criteria for directing traffic to the web application;
receiving a selected amount of traffic corresponding to the received criteria;
converting the selected criteria and the selected amount of traffic into a plurality of routing instructions executable by the edge layer, wherein the routing instructions comprise traffic splitting instructions based on the selected criteria and amount of traffic, wherein the traffic splitting instructions preserve the caching behavior at the edge layer;
modifying the master edge logic to include and implement the routing instructions from the selected criteria and the selected amount of traffic, while preserving the cache policies and the routing rules of the first and second edge logic codes, based at least in part on, the routing instructions generated from the selected criteria and the selected amount of traffic;
deploying the first and second source codes to the application execution layer;
deploying the master edge logic to the edge layer, wherein the master edge logic comprises the first and the second edge logic codes and implements the routing instructions,
wherein the master edge logic configures the edge layer to use the routing rules and cache policies of the first edge logic code when handling traffic for the first source code in the application execution layer and the master edge logic code further configures the edge layer to use the routing rules and cache policies of the second edge logic code, when handling traffic for the second source code in the application execution layer;
receiving traffic for the web application at the edge layer; and
using the master edge logic, routing the traffic, at the edge layer to the first or second variant of the web application.

### Claim 13 (depends on 12)

The non-transitory computer storage of claim 12, wherein the one or more selected criteria and the selected amount of traffic are received via a graphical user interface.

### Claim 14 (depends on 12)

The non-transitory computer storage of claim 12, wherein the cache policies are generated based on a plurality of cache keys, wherein the cache keys are generated based on a URL and metadata of a request in the received traffic at the edge.

### Claim 15 (depends on 14)

The non-transitory computer storage of claim 14, wherein the metadata comprises one or more cookies received in the request.

### Claim 16 (depends on 14)

The non-transitory computer storage of claim 14, wherein the metadata comprises a part of or an entirety of one or more HTTP header values.

### Claim 17 (depends on 14)

The non-transitory computer storage of claim 14, wherein the operations further comprise:
receiving caching instructions in the first and/or second source codes, comprising filtering criteria;
generating cache keys based on the filtering criteria;
filtering the request based on the filtering criteria;
determining matching one or more matching cache keys to the filtered request.

### Claim 18 (depends on 17)

The non-transitory computer storage of claim 17, wherein filtering the request comprises filtering query parameters of a URL embedded in the request.

### Claim 19 (depends on 12)

The non-transitory computer storage of claim 12, wherein converting the selected criteria and the selected amount of traffic into a plurality of routing instructions, comprises extracting one or more routing files from the first and second source codes of the web application and wherein converting further comprises generating the routing instructions, based, at least in part, on the extracted routing files from the first and second source codes.

### Claim 20 (depends on 1)

The method of claim 1, wherein the edge layer is configured to send a request to the application execution layer, wherein an identifier is embedded within the request wherein the identifier comprises an indication of an edge logic variant handling the request and wherein the identifier further indicates a corresponding application code variant in the application execution layer to serve a response to that request.
