You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2010/08/27 21:41:55 UTC

[jira] Resolved: (HTTPCLIENT-982) Could we get a way to know if the response has been served from the cache or not ?

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-982.
------------------------------------------

    Fix Version/s: 4.1 Alpha3
       Resolution: Fixed

Patch checked in. I made one change, though. I renamed CacheResponseContext to CacheResponseStatus, as the term 'context' bears a different connotation in the HttpClient API. I hope this is okay with. If not, let us think of a better term / enum name.

Oleg

> Could we get a way to know if the response has been served from the cache or not ?
> ----------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-982
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-982
>             Project: HttpComponents HttpClient
>          Issue Type: New Feature
>          Components: Cache
>    Affects Versions: 4.1 Alpha2
>            Reporter: Vianney Carel
>            Priority: Trivial
>             Fix For: 4.1 Alpha3
>
>         Attachments: cache-context.patch
>
>
> Is there a way to know if the response has been served from the cache or not ?
> That's an information which might be useful for monitoring the activity of the cache.
> If there's no current way, maybe a flag could be added in the request context whenever the response comes from the cache ... ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org