cache responses in browser