stop duplicate ajax call for same query term

stop duplicate ajax call for same query term by taking leverage of browser caching.