We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 318355a commit 89693b5Copy full SHA for 89693b5
app/utils/docs.ts
@@ -100,13 +100,13 @@ export const fetchFile = createServerFn({ method: 'GET' })
100
throw notFound()
101
}
102
103
- // Cache for 5 minutes on shared cache
104
- // Revalidate in the background
105
- setHeader('Cache-Control', 'public, max-age=0, must-revalidate')
106
- setHeader(
107
- 'CDN-Cache-Control',
108
- 'max-age=300, stale-while-revalidate=300, durable'
109
- )
+ // // Cache for 5 minutes on shared cache
+ // // Revalidate in the background
+ // setHeader('Cache-Control', 'public, max-age=0, must-revalidate')
+ // setHeader(
+ // 'CDN-Cache-Control',
+ // 'max-age=300, stale-while-revalidate=300, durable'
+ // )
110
111
return file
112
})
0 commit comments