Function getting auto-flagged as ISR Function #65829
Unanswered
briankeefe
asked this question in
Help
Replies: 1 comment
-
export const dynamic = 'force-dynamic' |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
For some reason, this api that I have keeps getting flagged as an ISR function which I don't think I want. I have determined that checking the user session or evaluating the request will prevent it from being evaluated as ISR. My problem is that I want to make a public GET function that wouldn't have an active user session nor a request body. It can't be done clientSide because prisma has to be run serverside. Is there a way to prevent being labeled as an ISR without a pointless evaluation of headers?
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions