add autocompletion to a search form using Rack middleware and caching with Redis