[ 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-2.patch This is a corrected patch that makes AbstractProtocolTest an abstract class (maven was trying to run it as a test case). That's the only difference between this patch and the previous one. This patch is contributed to the ASF 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: Future > > Attachments: nonshared-cache-2.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