{"json_modified": "2016-08-29T12:55:04.563879", "uuid": "def803b1-4641-4e80-93d0-77c6d8c8674f", "title": "Synchronous and asynchronous requests", "url": "/en-US/docs/Web/API/XMLHttpRequest/Synchronous_and_Asynchronous_Requests", "tags": ["DOM", "XMLHttpRequest"], "translations": [{"uuid": "c9062456-8cdd-44cb-841f-74e7c52b4164", "title": "\u540c\u671f\u304a\u3088\u3073\u975e\u540c\u671f\u30ea\u30af\u30a8\u30b9\u30c8", "url": "/ja/docs/Web/API/XMLHttpRequest/Synchronous_and_Asynchronous_Requests", "tags": [], "summary": "XMLHttpRequest \u306f\u540c\u671f\u304a\u3088\u3073\u975e\u540c\u671f\u901a\u4fe1\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\uff0e\u3057\u304b\u3057\uff0c\u4e00\u822c\u306b\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u4e0a\u306e\u7406\u7531\u306b\u3088\u308a\u975e\u540c\u671f\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u540c\u671f\u30ea\u30af\u30a8\u30b9\u30c8\u3088\u308a\u9078\u597d\u3055\u308c\u308b\u3079\u304d\u3067\u3059\uff0e", "localization_tags": [], "locale": "ja", "last_edit": "2014-02-09T06:31:03", "review_tags": []}, {"uuid": "e0bab40a-0482-401a-a6fb-9a1b1e62510b", "title": "\u540c\u6b65\u548c\u5f02\u6b65\u8bf7\u6c42", "url": "/zh-CN/docs/Web/API/XMLHttpRequest/Synchronous_and_Asynchronous_Requests", "tags": [], "summary": "XMLHttpRequest\u652f\u6301\u540c\u6b65\u548c\u5f02\u6b65\u4e24\u79cd\u901a\u4fe1\u6a21\u5f0f.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-05-13T09:16:18", "review_tags": []}, {"uuid": "9c146b5b-625e-4780-b234-a5d526de56a8", "title": "Synchronous and asynchronous requests", "url": "/zh-TW/docs/Web/API/XMLHttpRequest/Synchronous_and_Asynchronous_Requests", "tags": [], "summary": "XMLHttpRequest \u652f\u6301\u540c\u6b65\u548c\u975e\u540c\u6b65\u8acb\u6c42\uff0c\u4e00\u822c\u4f86\u8aaa\uff0c\u5efa\u8b70\u4f7f\u7528\u975e\u540c\u6b65\u8acb\u6c42\u3002", "localization_tags": [], "locale": "zh-TW", "last_edit": "2016-03-03T06:43:33", "review_tags": []}], "modified": "2016-08-29T12:55:04", "label": "Synchronous and asynchronous requests", "localization_tags": [], "locale": "en-US", "id": 757, "last_edit": "2016-08-29T12:55:01", "summary": "XMLHttpRequest supports both synchronous and asynchronous communications. In general, however, asynchronous requests should be preferred to synchronous requests for performance reasons.", "sections": [{"id": "Asynchronous_request", "title": "Asynchronous request"}, {"id": "Example_send_a_file_to_the_console_log", "title": "Example: send a file to the console log"}, {"id": "Example_creating_a_standard_function_to_read_external_files", "title": "Example: creating a standard function to read external files"}, {"id": "Example_using_a_timeout", "title": "Example: using a timeout"}, {"id": "Synchronous_request", "title": "Synchronous request"}, {"id": "Example_HTTP_synchronous_request", "title": "Example: HTTP synchronous request"}, {"id": "Example_Synchronous_HTTP_request_from_a_Worker", "title": "Example: Synchronous HTTP request from a "}, {"id": "Adapting_Sync_XHR_usecases_to_the_Beacon_API", "title": "Adapting Sync XHR usecases\u00a0to the Beacon API"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/XMLHttpRequest/Synchronous_and_Asynchronous_Requests", "review_tags": []}