Add a near cache mechanism.