Cache ajax calls and replay them in the future.  Useful in testing.