From c7188ed3210e19ac98060af1125a7cfd5dc1a7f4 Mon Sep 17 00:00:00 2001 From: Angel Date: Wed, 2 Oct 2024 15:35:24 -0400 Subject: [PATCH 1/2] cache hit definition update --- app/_src/gateway/get-started/proxy-caching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/_src/gateway/get-started/proxy-caching.md b/app/_src/gateway/get-started/proxy-caching.md index 97ddfdddafe0..581aeb8b2f36 100644 --- a/app/_src/gateway/get-started/proxy-caching.md +++ b/app/_src/gateway/get-started/proxy-caching.md @@ -109,7 +109,7 @@ will potentially be cached. |State| Description | |---|------------------------------------------------------------------------------------------------------------------------------------------------------| |Miss| The request could be satisfied in cache, but an entry for the resource was not found in cache, and the request was proxied upstream. | - |Hit| The request was satisfied and served from the cache. | + |Hit| The request was satisfied. The resource was found in cache, | |Refresh| The resource was found in cache, but could not satisfy the request, due to Cache-Control behaviors or reaching its hard-coded `cache_ttl` threshold. | |Bypass| The request could not be satisfied from cache based on plugin configuration. | From d9324b4c4d36799cc95781c1ef6b1d2d666c2c14 Mon Sep 17 00:00:00 2001 From: Angel Date: Wed, 2 Oct 2024 17:26:37 -0400 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com> --- app/_src/gateway/get-started/proxy-caching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/_src/gateway/get-started/proxy-caching.md b/app/_src/gateway/get-started/proxy-caching.md index 581aeb8b2f36..d19641fc399a 100644 --- a/app/_src/gateway/get-started/proxy-caching.md +++ b/app/_src/gateway/get-started/proxy-caching.md @@ -109,7 +109,7 @@ will potentially be cached. |State| Description | |---|------------------------------------------------------------------------------------------------------------------------------------------------------| |Miss| The request could be satisfied in cache, but an entry for the resource was not found in cache, and the request was proxied upstream. | - |Hit| The request was satisfied. The resource was found in cache, | + |Hit| The request was satisfied. The resource was found in cache. | |Refresh| The resource was found in cache, but could not satisfy the request, due to Cache-Control behaviors or reaching its hard-coded `cache_ttl` threshold. | |Bypass| The request could not be satisfied from cache based on plugin configuration. |