Expand my Community achievements bar.

Vary header for caching user specific responses

Avatar

Level 1

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?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies