prefetching through xhr request