cache edges