Vercel CDN cache and Vary: Accept
header.
#7612
-
Hi, I'm trying to build simple api that can resize source image from S3 and also format image to WebP if browser accept it but second part didn't work. Handler return headers: {
"Vary": "Accept",
"Content-Type": "`image/jpeg` or `image/webp` if supported"
} and also Cache-Control. Tested two Cache-Control header value variants, first one Second variant that I tested What am I doing wrong, or maybe it's not possible to implement this in Vercel? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
The |
Beta Was this translation helpful? Give feedback.
The
vary
header is not currently supported: https://vercel.com/docs/concepts/edge-network/headers