IP Library Granted Patent US 11,836,540
Granted Patent B2
US 11,836,540 · App. 18/090,745 · Granted Dec 5, 2023

Dynamic personalized API assembly

Inventors: Christopher David Boran (Burlington, MA); Victor Manuel Romero Carrasco (Malaga, ES)
Assignee: Salesforce, Inc.
G06F9/541G06F16/953H04L67/10G06F2209/541
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,836,540
App. No.
18/090,745
Granted
Dec 5, 2023
Kind
B2
Abstract

Methods, computer readable media, and devices for dynamic personalized API assembly are provided. One method may include receiving a data query from a client by a CDN, parsing the data query to generate a modified data query, transmitting the modified data query to an origin server, receiving a query response from the origin server, the query response including content corresponding to the plurality of data elements and an indication specifying whether the content is cacheable in the CDN, and sending a modified query response including responsive content comprising one or more of content previously cached on the CDN and the content obtained from the origin server. Another method may include receiving an API call by an origin server, generating an API response by creating a payload file and adding indication specifying whether the content is cacheable in the CDN, and transmitting the API response.

Claims (46)

1. A computer-implemented method comprising:

receiving, by a content distribution network (CDN), a data query from a client, the data query including a plurality of data elements;

parsing, by the CDN, the data query to generate a modified data query, the modified data query including one or more of the plurality of data elements for which corresponding content was not previously cached;

transmitting, by the CDN, the modified data query to an origin server;

receiving, by the CDN, a query response from the origin server, the query response including content corresponding to the plurality of data elements and an indication specifying whether the content is cacheable in the CDN; and

sending, by the CDN, a modified query response including responsive content comprising one or more of content previously cached on the CDN and the content obtained from the origin server.

2. The computer-implemented method of claim 1 , wherein parsing the data query to generate the modified data query comprises:

for the plurality of data elements:

determining whether the content corresponding to the plurality of data elements was previously cached; and

including the one or more of the plurality of data elements included in the modified data query in response to determining the content corresponding to the one or more of the plurality of data elements was not previously cached.

3. The computer-implemented method of claim 1 , wherein sending the modified query response comprises:

for the plurality of data elements:

including a data element and content corresponding to the data element based on whether the data element is one of the one or more of the plurality of data elements included in the modified data query.

4. The computer-implemented method of claim 3 , wherein including the data element and content corresponding to the data element based on whether the data element is one of the one or more of the plurality of data elements included in the modified data query comprises:

in response to determining the data element is not one of the one or more of the plurality of data elements included in the modified data query:

retrieving content corresponding to the data element from a cache of the CDN; and

including the data element and the retrieved content in the modified query response.

5. The computer-implemented method of claim 3 , wherein including the data element and content corresponding to the data element based on whether the data element is one of the one or more of the plurality of data elements included in the modified data query comprises:

in response to determining the data element is one of the one or more of the plurality of data elements included in the modified data query:

parsing the indication specifying whether the content is cacheable in the CDN; and

including the data element and the content corresponding to the data element in the modified query response.

6. The computer-implemented method of claim 5 , wherein parsing the indication specifying whether the content is cacheable in the CDN comprises:

in response to determining the indication specifying whether the content is cacheable in the CDN indicates the content corresponding to the data element of the one or more of the plurality of data elements included in the modified data query is cacheable, caching the content corresponding to the data element.

7. A non-transitory machine-readable storage medium that provides instructions that, if executed by a processor, are configured to cause said processor to perform operations comprising:

receiving, by a content distribution network (CDN), a data query from a client, the data query including a plurality of data elements;

parsing, by the CDN, the data query to generate a modified data query, the modified data query including one or more of the plurality of data elements for which corresponding content was not previously cached;

transmitting, by the CDN, the modified data query to an origin server;

receiving, by the CDN, a query response from the origin server, the query response including content corresponding to the plurality of data elements and an indication specifying whether the content is cacheable in the CDN; and

sending, by the CDN, a modified query response including responsive content comprising one or more of content previously cached on the CDN and the content obtained from the origin server.

8. The non-transitory machine-readable storage medium of claim 7 , wherein parsing the data query to generate the modified data query comprises:

for the plurality of data elements:

determining whether the content corresponding to the plurality of data elements was previously cached; and

including the one or more of the plurality of data elements included in the modified data query in response to determining the content corresponding to the one or more of the plurality of data elements was not previously cached.

9. The non-transitory machine-readable storage medium of claim 7 , wherein sending the modified query response comprises:

for the plurality of data elements:

including a data element and content corresponding to the data element based on whether the data element is one of the one or more of the plurality of data elements included in the modified data query.

10. The non-transitory machine-readable storage medium of claim 9 , wherein including the data element and content corresponding to the data element based on whether the data element is one of the one or more of the plurality of data elements included in the modified data query comprises:

in response to determining the data element is not one of the one or more of the plurality of data elements included in the modified data query:

retrieving content corresponding to the data element from a cache of the CDN; and

including the data element and the retrieved content in the modified query response.

11. The non-transitory machine-readable storage medium of claim 9 , wherein including the data element and content corresponding to the data element based on whether the data element is one of the one or more of the plurality of data elements included in the modified data query comprises:

in response to determining the data element is one of the one or more of the plurality of data elements included in the modified data query:

parsing the indication specifying whether the content is cacheable in the CDN; and

including the data element and the content corresponding to the data element in the modified query response.

12. The non-transitory machine-readable storage medium of claim 11 , wherein parsing the indication specifying whether the content is cacheable in the CDN comprises:

in response to determining the indication specifying whether the content is cacheable in the CDN indicates the content corresponding to the data element of the one or more of the plurality of data elements included in the modified data query is cacheable, caching the content corresponding to the data element.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 29, 2022
From: BORAN, CHRISTOPHER DAVID; CARRASCO, VICTOR MANUEL ROMERO
To: SALESFORCE.COM, INC.
Reel/Frame 062234/0867 →
Continuity (2)
Continuation 17158163 · Jan 26, 2021
Related Publication 20230138693A1 · May 4, 2023
Cited By (1)
US 12,248,823