Ask why i cant refresh cache Perfectly with Docker? #76792
Unanswered
tiktokgodown
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Hello everyone, I need some help.
I'm fetching data from this endpoint in Next.js:
https://example/some/data(served by the backend).The Issue:
npm buildandnpm start.What I've Tried:
cache: "no-store"when fetching data in Next.js.revalidate: 0in the Next.js API route.?t=${Date.now()}) to force a fresh request.force-dynamicin the Next.js API route, but it returns an invalid URL error—if I remove it, the request works fine.Cache-Control: no-storeis set.docker compose up --build, but the issue persists—I'm still getting stale data.Any insights or suggestions would be greatly appreciated. Thanks!!
[/api/index.ts ]

[content/data/route.tsx]
image
(When i use force dynamic its always getting return invalid_url)
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions