[
https://issues.apache.org/jira/browse/HTTPCLIENT-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283619#comment-13283619
]
Jon Moore commented on HTTPCLIENT-1194:
---------------------------------------
Hi Francois-Xavier,
Actually, the cache sets this kind of status in the HttpContext already: please
see HTTPCLIENT-982 for details. Let me double-check that this is
well-documented somewhere before we close this issue, though.
Jon
> X-cache response header
> -----------------------
>
> Key: HTTPCLIENT-1194
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1194
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: Cache
> Affects Versions: 4.2 Final
> Reporter: Francois-Xavier Bonnet
> Priority: Minor
>
> Unless I missed something, there is no easy way to see if a request has been
> served by the cache or by a backend call except from the logs. Usualy in
> caches there is a way to activate some http headers like "X-cache".
> It should not be too hard to add such a feature to HttpClient cache, we could
> just add a configuration parameter to activate it or not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]