slightly more efficient way of calling http page