I think it would be interesting to open those Apis up so the application could get cache entries for use in certain error cases. (For example, my client app has detected the server is unavailable for some reason or I have crossed some throttling limit for requests to the backend... I could choose not to attempt a call to the backend and just return the cache entry instead.)
sam On Sat, Jun 15, 2013 at 9:01 AM, Oleg Kalnichevski <[email protected]> wrote: > On Fri, 2013-06-14 at 14:23 -0700, Clover wrote: >> Is there http/1.1 compliant(ish) caching classes like there are for the >> http-client code? > No, there are not. It should be possible to decouple HTTP caching > classes from HttpClient specific APIs but that would probably require > opening up a lot of APIs that are presently private. We would need a > really good reason for doing so. > Oleg > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]
