integrate cache into core switches