[ https://issues.apache.org/jira/browse/HTTPCLIENT-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833405#action_12833405 ]
Mike Youngstrom commented on HTTPCLIENT-427: -------------------------------------------- This would be extremely useful in the case of restful service calls. If http client could emulate a browsers caching logic and then expose an api that that will allow developers to plug this logic into their system's caching solution that would be awesome!!!!! I've looked around and couldn't find any other http library that offers such functionality. Client side caching could mark a big reason for frameworks such as CXF and Spring RestTemplate (provides Commons Http Client) to add Http Components as an optional client. This isn't really a case of HttpClient trying to be a browser. It's a case for HttpClient to taking advantage of standard http headers to provide a well understood caching model. > Implement a cache to perform real request only when needed > ---------------------------------------------------------- > > Key: HTTPCLIENT-427 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-427 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: HttpClient > Environment: Operating System: Linux > Platform: PC > Reporter: Marc Guillemot > Priority: Minor > Fix For: Future > > > Browsers may cache received content according to the values of different > response headers. It would be great if HttpClient could do the same. -- 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