Integrate the cache into edge switches