I always get cached responses in production #7364
Replies: 1 comment
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
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
I am building a website with Astro in which I created an API route. I always get a cached response from this route and I would like to have more control over this behaviour (this is only an issue in production, not when developing).
Example
https://daniell.dev/
Steps to Reproduce
From my endpoint, I am sending:
I request this endpoint like:
I have also tried to add a
vercel.json
file containing:Beta Was this translation helpful? Give feedback.
All reactions