Abstract cache framework for node