Hi all,

we currently have one issue (https://bz.apache.org/bugzilla/show_bug.cgi?id=61176) asking for caching of http responses with a "Vary" header. And I think we had one question about it recently on one of the mailing lists.

If we want to support such a feature, we would have to place the call for CacheManager#inCache after we filled the request with all headers. At the moment we get the url, only.

The cache would have to be changed to support multiple responses (depending on the Vary header).

What happens when a server responds inconsistently with a Vary header (includes it sometimes for a url and leaves it off sometimes)?

What are your thoughts on the problems?

We probably should also look at httpclient 5 with respect to http/2, as I think it will influence the cache manager, too.

Regards,
 Felix

Reply via email to