bug1019528 - use of cachecontrol

https://bugzilla.mozilla.org/show_bug.cgi?id=1019528
this block of code is duplicated in inbound_finder. Would it be possible to put this directly in the limitedfilecache.get_cache ar another function to avoid duplication ?