From 26f953d33b43c8696152115c9be3e8c05272921e Mon Sep 17 00:00:00 2001 From: Noah Gentile Date: Sun, 3 Nov 2024 12:58:36 -0800 Subject: [PATCH] docs: adjust readme --- package/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/README.md b/package/README.md index 0370309..027b0dc 100644 --- a/package/README.md +++ b/package/README.md @@ -205,6 +205,11 @@ const page = await context.sanity.loadQuery(query, params, { // debug: { // displayName: 'query Homepage' // } + + // You can also pass a function do determine whether or not to cache the response + // shouldCacheResult(value){ + // return true + // } }, // ...as well as other request options