cached the xhr for pockets refs #15