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 119e4d6 commit 619ce01Copy full SHA for 619ce01
examples/app-router/app/methods/route.ts
@@ -1,12 +1,5 @@
1
import type { NextRequest } from "next/server";
2
3
-// You can opt-in to caching by using a route config option
4
-// Good to know: Other supported HTTP methods are not cached, even if they are placed alongside a GET method that is cached, in the same file.
5
-// export const dynamic = "force-static";
6
-// However in Next right now this is an issue
7
-// I opened an issue here: https://github.com/vercel/next.js/issues/77185
8
-
9
-// This route should be cached if you uncomment line 5
10
export async function GET() {
11
return Response.json({
12
message: "OpenNext is awesome! :) :] :> :D",
0 commit comments