MCPcopy Index your code
hub / github.com/simstudioai/sim / addNoCacheHeaders

Function addNoCacheHeaders

apps/sim/app/api/workflows/[id]/deployed/route.ts:17–20  ·  view source on GitHub ↗
(response: NextResponse)

Source from the content-addressed store, hash-verified

15export const runtime = 'nodejs'
16
17function addNoCacheHeaders(response: NextResponse): NextResponse {
18 response.headers.set('Cache-Control', 'no-store, no-cache, must-revalidate, max-age=0')
19 return response
20}
21
22export const GET = withRouteHandler(
23 async (request: NextRequest, context: { params: Promise<{ id: string }> }) => {

Callers 1

route.tsFile · 0.85

Calls 1

setMethod · 0.65

Tested by

no test coverage detected