Context cache utility