Caching ajax requests.