use new httpclient lib and get http caching working (in memory)