From 7cda716427cc4492b0743a4c7d3307eab3ea1d56 Mon Sep 17 00:00:00 2001 From: Tristan Lee Date: Thu, 12 Oct 2023 10:46:32 -0400 Subject: [PATCH] Add example section for caching --- .../functions/general/sample-html-page.js | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/examples/v7-edge-functions/functions/general/sample-html-page.js b/examples/v7-edge-functions/functions/general/sample-html-page.js index 5586155ae..d379e6f32 100644 --- a/examples/v7-edge-functions/functions/general/sample-html-page.js +++ b/examples/v7-edge-functions/functions/general/sample-html-page.js @@ -165,6 +165,29 @@ export async function handleHttpRequest(request, context) { + +
+

Caching

+

Examples demonstrating caching for different request types.

+ +
+ +
Edge Functions Documentation | View the demo code on GitHub