add option to not cache xhr requests