Next.js Discord

Discord Forum

Vercel Next14 doesn't generate uuid

Answered
English Angora posted this in #help-forum
Open in Discord
Avatar
English AngoraOP
Could anyone help? Why I get a new uuid once i deployed the app and get an email with unique id, but then when i manualy open and refresh this rouse i always get same uuid....
Looks like it is stored on cache or similar
How to fix that ??
{
"uniqueRef": "7cd3e8e1-a4b0-4f04-9e56-410a80b17aed",


When i run it locally i got unique id on every refresh ....
Image
Answered by joulev
export const revalidate = 0 add that to the end of the file
View full answer

2 Replies

Avatar
joulev
export const revalidate = 0 add that to the end of the file
Answer
Avatar
English AngoraOP
WORKS!

Thank you