cache: add support for scanning on multiple interfaces