Finalized the export of cache handling logics to a service