if(graphsToCache) {
                    graphsToCache.entries().forEach(function(entry) {
                        var cache = entry.val;
                        cache.clear();
                    });