Generating early hints informational responses at an intermediary server

    公开(公告)号:US12028434B2

    公开(公告)日:2024-07-02

    申请号:US17734944

    申请日:2022-05-02

    申请人: CLOUDFLARE, INC.

    IPC分类号: H04L67/5681

    CPC分类号: H04L67/5681

    摘要: An intermediary server receives a request from a client that identifies an asset that is handled by an origin server. The intermediary server generates an informational response that includes one or more link header fields that reference one or more pieces of content respectively that are predicted by the intermediary server to be linked within a final response for the asset. The intermediary server transmits the generated informational response to the client prior to a final response for the request. The intermediary server transmits the request to the origin server and receives a final response to the request. The intermediary server transmits the final response to the request to the client.

    CACHING ASSETS IN A MULTIPLE CACHE SYSTEM

    公开(公告)号:US20210294749A1

    公开(公告)日:2021-09-23

    申请号:US17069679

    申请日:2020-10-13

    申请人: CLOUDFLARE, INC.

    摘要: A computing device includes a volatile memory that includes a first cache, a non-volatile storage that includes a second cache, and a cache service. The cache service, responsive to a cache miss, retrieves that asset and writes that asset to the first cache and not the second cache. The cache service reads the asset from the first cache responsive to requests for the asset until the asset is evicted from the first cache or until the asset is promoted to the second cache. The cache service promotes the asset to the second cache upon determining that a set of one or more criteria are satisfied including a predefined number of cache hits for the asset when it is in the first cache. The cache service reads the asset from the second cache responsive to requests for the asset until the asset is evicted from the second cache.

    Implementing a tiered cache topology with anycast networks

    公开(公告)号:US11411849B1

    公开(公告)日:2022-08-09

    申请号:US17344597

    申请日:2021-06-10

    申请人: CLOUDFLARE, INC.

    摘要: A control server receives probe data from a plurality of data centers indicating measured latencies with a first IP address associated with an origin server. The control server sums the measured latencies of a first data center having a lowest measured latency and a second data center. When the sum is below a threshold value, the control server determines the IP address to be an anycast IP address and selects a proper subset of the plurality of data centers as proxying data centers for other data centers in the plurality of data centers. When the sum is not below the threshold value, the control server determines the IP address to not be an anycast IP address and selects the first data center having the lowest measure latencies as the proxying data center for other data centers in the plurality of data centers.

    Caching assets in a multiple cache system

    公开(公告)号:US10802980B1

    公开(公告)日:2020-10-13

    申请号:US16825979

    申请日:2020-03-20

    申请人: CLOUDFLARE, INC.

    摘要: A computing device includes a volatile memory that includes a first cache, a non-volatile storage that includes a second cache, and a cache service. The cache service, responsive to a cache miss, retrieves that asset and writes that asset to the first cache and not the second cache. The cache service reads the asset from the first cache responsive to requests for the asset until the asset is evicted from the first cache or until the asset is promoted to the second cache. The cache service promotes the asset to the second cache upon determining that a set of one or more criteria are satisfied including a predefined number of cache hits for the asset when it is in the first cache. The cache service reads the asset from the second cache responsive to requests for the asset until the asset is evicted from the second cache.

    IMPLEMENTING A TIERED CACHE TOPOLOGY WITH ANYCAST NETWORKS

    公开(公告)号:US20230117875A1

    公开(公告)日:2023-04-20

    申请号:US17818267

    申请日:2022-08-08

    申请人: CLOUDFLARE, INC.

    摘要: A control server receives probe data from a plurality of data centers indicating measured latencies with a first IP address associated with an origin server. The control server sums the measured latencies of a first data center having a lowest measured latency and a second data center. When the sum is below a threshold value, the control server determines the IP address to be an anycast IP address and selects a proper subset of the plurality of data centers as proxying data centers for other data centers in the plurality of data centers. When the sum is not below the threshold value, the control server determines the IP address to not be an anycast IP address and selects the first data center having the lowest measure latencies as the proxying data center for other data centers in the plurality of data centers.

    Caching assets in a multiple cache system

    公开(公告)号:US11237975B2

    公开(公告)日:2022-02-01

    申请号:US17069679

    申请日:2020-10-13

    申请人: CLOUDFLARE, INC.

    摘要: A computing device includes a volatile memory that includes a first cache, a non-volatile storage that includes a second cache, and a cache service. The cache service, responsive to a cache miss, retrieves that asset and writes that asset to the first cache and not the second cache. The cache service reads the asset from the first cache responsive to requests for the asset until the asset is evicted from the first cache or until the asset is promoted to the second cache. The cache service promotes the asset to the second cache upon determining that a set of one or more criteria are satisfied including a predefined number of cache hits for the asset when it is in the first cache. The cache service reads the asset from the second cache responsive to requests for the asset until the asset is evicted from the second cache.

    Cache purging in a distributed networked system

    公开(公告)号:US11960407B1

    公开(公告)日:2024-04-16

    申请号:US18482707

    申请日:2023-10-06

    申请人: CLOUDFLARE, INC.

    CPC分类号: G06F12/0891 G06F12/1466

    摘要: Purging resources from a cache in a distributed networked system is described. A first data center of the distributed networked system receives a purge request to purge a resource from cache. If the purge request does not include a cache key, the first data center determines whether the purge request is valid, and if valid, purges the resource from cache of the first data center, generates a cache key for the resource, and causes the purge request that includes the generated cache key to be sent to other data centers of the distributed networked system for purging the resource from cache. If the purge request includes a cache key, the first data center skips determining whether the purge request is valid and purges the resource from cache based on the cache key.

    GENERATING EARLY HINTS INFORMATIONAL RESPONSES AT AN INTERMEDIARY SERVER

    公开(公告)号:US20230088115A1

    公开(公告)日:2023-03-23

    申请号:US17734944

    申请日:2022-05-02

    申请人: CLOUDFLARE, INC.

    IPC分类号: H04L67/5681

    摘要: An intermediary server receives a request from a client that identifies an asset that is handled by an origin server. The intermediary server generates an informational response that includes one or more link header fields that reference one or more pieces of content respectively that are predicted by the intermediary server to be linked within a final response for the asset. The intermediary server transmits the generated informational response to the client prior to a final response for the request. The intermediary server transmits the request to the origin server and receives a final response to the request. The intermediary server transmits the final response to the request to the client.

    Generating early hints informational responses at an intermediary server

    公开(公告)号:US11323537B1

    公开(公告)日:2022-05-03

    申请号:US17476262

    申请日:2021-09-15

    申请人: CLOUDFLARE, INC.

    IPC分类号: H04L29/08 H04L67/5681

    摘要: An intermediary server determines, for an asset handled by an origin server, piece(s) of content for inclusion in link header field(s) in an informational response that signifies that the piece(s) of content are predicted to be linked within a final response for the asset. The intermediary server generates an informational response that includes the link header field(s) and responds to a request from a client with the informational response. The intermediary server transmits the request to the origin server. The intermediary server receives the final response to the request from the origin server, and transmits the final response to the client.