Building a network cache with the facade pattern