| CPC G06F 9/541 (2013.01) [G06F 16/953 (2019.01); H04L 67/10 (2013.01); G06F 2209/541 (2013.01)] | 10 Claims |

|
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 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 content including responsive content comprising one or more of content previously cached on the CDN and the content obtained from the origin server, wherein sending the modified content 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, and 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 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; and
including the data element and the content corresponding to the data element in the modified content.
|