Cloudfest Conference 2025

Use code HH20 for 20% off an event ticket!

Yesterday's Top Poster

Serve personalized content faster with Vary support

  • Thread starter Thread starter Luba Kravchenko, Joe Haddad
  • Start date Start date
Vercel now fully supports the HTTP Vary header, making it easier to cache personalized content across all plans with no configuration required.

The Vary header tells caches which request headers to include when generating cache keys. This allows Vercel’s application delivery network to store and serve different versions of a page based on headers like X-Vercel-IP-Country or Accept-Language, so users get fast, localized content without recomputation.


By returning the above headers your site caches and serves country-specific content.

A visitor from the United States receives the US-specific cached version, and visitors from other countries receive the version for their locale, with no recomputation required.

Learn more about caching personalized content in Vercel's application network documentation.

Read more

Continue reading...
 
Back
Top