store global cache permanently after each search