caching on type ahead