Skip to content

Commit c41da4f

Browse files
committed
feat: explicitly add force-cache option to getResource in basic starter
1 parent 864686c commit c41da4f

File tree

1 file changed

+1
-0
lines changed
  • starters/basic-starter/app/[...slug]

1 file changed

+1
-0
lines changed

starters/basic-starter/app/[...slug]/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ async function getNode(slug: string[]) {
3535

3636
const resource = await drupal.getResource<DrupalNode>(type, uuid, {
3737
params,
38+
cache: "force-cache",
3839
next: {
3940
revalidate: 3600,
4041
// Replace `revalidate` with `tags` if using tag based revalidation.

0 commit comments

Comments
 (0)