[ https://issues.apache.org/jira/browse/HTTPCLIENT-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285516#comment-13285516 ]
Francois-Xavier Bonnet commented on HTTPCLIENT-1194: ---------------------------------------------------- Thanks Jon, I just found it in the documentation. This was exactly what I needed. > 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: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org