Next.js Discord

Discord Forum

What happens when X-vercel-cache is a MISS but Cachepublic, max-age=31536000, must-revalidate

Unanswered
Scaly-naped Pigeon posted this in #help-forum
Open in Discord
Avatar
Scaly-naped PigeonOP
Hey folks,

I have a question regarding cache behaviour on Vercel. We have a lot of images getting optimized and I am trying to understand how the cache is setup. On the image request I see Cache-Control:
public, max-age=31536000, must-revalidate and all our remote images have a that max age in cache control.
When i am looking at requests though I am always seeing MISS from X-vercel-cache.
Doest this mean that the image is going to get optimized again? and if so, how can i prevent this?

1 Reply

Avatar
Scaly-naped PigeonOP
small up!