hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Moore (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1194) X-cache response header
Date Fri, 25 May 2012 17:40:23 GMT

    [ 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.


> 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-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message