Add support for framework managed cache keys for cacheable graphs. Default to the old approach of externally managed graphs.