Patent attributes
In one embodiment, a method includes receiving from a client device of a first user of an online social network a partial query input including a first character string. The method may determine one or more predicted queries based on the partial query input. The method may generate one or more search results for each of the predicted queries. The method may send, in response to receiving the partial query input, one or more of the search results to the client device for storage in a cache of the client device. The method may also retrieve, in response to receiving a completed query input from the first user, one or more of the search results from the cache of the client device for display. The completed query input may include a second character string, where the second character string may include at least the first character string.