mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-14 21:40:49 -05:00
properly use vercel data cache for fetch results
This commit is contained in:
@@ -12,8 +12,8 @@ const Gist = async ({ id, file }: GistProps) => {
|
||||
const scriptResponse = await fetch(scriptUrl, {
|
||||
cache: "force-cache",
|
||||
next: {
|
||||
// cache indefinitely in data store
|
||||
revalidate: false,
|
||||
revalidate: false, // cache indefinitely in data store
|
||||
tags: ["gist"],
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user