Move yank history to cache.