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

Jonathan Moore updated HTTPCLIENT-967:
--------------------------------------

    Attachment: nonshared-cache-3.patch

Uploading a version of the patch compatible with the recent resolution of issue 
972 (i.e. using the CacheConfig bean for configuration of the caching module).

This patch is contributed with the permission of my employer.


> allow cache to be configured as a non-shared (private) cache
> ------------------------------------------------------------
>
>                 Key: HTTPCLIENT-967
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-967
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: Cache
>    Affects Versions: 4.1 Alpha2
>            Reporter: Jonathan Moore
>             Fix For: 4.1 Alpha3
>
>         Attachments: nonshared-cache-2.patch, nonshared-cache-3.patch, 
> nonshared-cache.patch
>
>
> Currently the CachingHttpClient only behaves as a shared cache, which is a 
> safe and conservative assumption. However, in some settings, it would be 
> appropriate to be able to configure the CachingHttpClient as a non-shared 
> cache, which would make more responses cacheable, including:
> * responses to requests with Authorization headers
> * responses with 'Cache-Control: private'
> * ability to serve stale responses when invalidation fails for 
> 'Cache-Control: proxy-revalidate'

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

Reply via email to