checks graph caching