cache graph