[APPS-718] use memoize method to cache the searchUrlPrefix.