HTTP Client Attributes

Brent Putman putmanb at georgetown.edu
Thu May 3 14:10:10 EDT 2018



On 5/3/18 2:05 PM, Brent Putman wrote:
>
>
> No, 'file' doesn't survive restarts.  The point of that is disk-based
> caching to eliminate memory usage, not to be persistent across restarts.

IIRC there's also a technical reason wrt HttpClient.  It unfortunately
doesn't cache the response headers on disk, only the response body. 
The response headers live only in memory. I guess their idea is to
store the frequently-needed and low-footprint data in memory, and put
the less-frequently-needed and large-footprint stuff on disk.

So at least on the version we're currently using it's not even possible
to make the HttpClient cache persist in a meaningful way across
restarts.  Maybe that has or will change in the newer or future
versions, don't know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20180503/cb09e66b/attachment.html>


More information about the dev mailing list