nahi/httpclient — pull request #227 by YorickPeterse (2014-11-05 14:05:15+00:00)
Title: Cut down constant cache invalidations

See bf5f9063db36b0f74972d1afe5b7cf012cd20308 for all the juicy details. I've been running this patch in a production app for a day or so now, which produces the following graph:

![screenshot - 051114 - 15 02 05](https://cloud.githubusercontent.com/assets/86065/4918767/5971c95e-64f4-11e4-9484-27aa497bea56.png)

This graph shows the total amount of constant invalidations over time. The gaps are caused due to the app only running for a few hours, twice a day. If you look closely the last bump is a bit smaller, due to the changes in this pull request. Note that the graph line only shows the average amount of invalidations per transaction (= job the app processes). At peak level the total amount of invalidations went down from 153k to 102k invalidations.

I'm currently trying to see what's causing the remainder of invalidations. I'll give a heads up if this PR is considered done from my end.