Use ajax by default because websockets don't support compression