better search for cache