route creating cache #70036
Answered
by
LuWroblewski
LuWroblewski
asked this question in
Help
-
SummaryI have route catch the newest metric
The route don’t work in other times, only work after deploy, in localhost works correctly but on vercel deploy is cache data, other routes i have don’t cache in vercel Header example for last route i show yours
Additional informationI tested on edge, chrome and insominia They in same project but separated folders i tryed change header using headers: {
'Cache-Control': 'no-store, max-age=0, must-revalidate',
'x-vercel-cache': 'MISS',
}, but don't change anything I expect he not create cache, like localhost
|
Beta Was this translation helpful? Give feedback.
Answered by
LuWroblewski
Sep 12, 2024
Replies: 1 comment
-
I resolved using on initial lines
and his works fine Complete code:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
LuWroblewski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I resolved using on initial lines
and his works fine
Complete code: