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
-
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 build
andnpm start
.What I've Tried:
cache: "no-store"
when fetching data in Next.js.revalidate: 0
in the Next.js API route.?t=${Date.now()}
) to force a fresh request.force-dynamic
in the Next.js API route, but it returns an invalid URL error—if I remove it, the request works fine.Cache-Control: no-store
is 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