For ctrlp, cache and improve scanning speed with ag.