Vary header for caching user specific responses | Community
Skip to main content
March 1, 2023
Question

Vary header for caching user specific responses

  • March 1, 2023
  • 0 replies
  • 595 views

I am trying to cache adobe IO responses and have set the cache control header to max-age 3600. The header is working and I can see cache Hit or Miss in the response headers. However, i have not figured out how to get the Vary header to work. I am adding a custom request header such as “userId : 123” to cache user specific responses. Can you guide how to get it working?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.